From ce07ebcea8d4c0460b58de7b59bb94734b650cbe Mon Sep 17 00:00:00 2001 From: François Revel Date: Thu, 16 Oct 2008 16:01:44 +0000 Subject: - handle NetPositive what codes; this makes it easy to use NetSurf instead by just changing the archived message used to instantiate it. - fix background view color, some host apps hide the BDragger, making it visible. - handle mailto: urls as a special case, we historically use the prefered app for text/x-email. svn path=/trunk/netsurf/; revision=5584 --- beos/beos_window.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'beos/beos_window.cpp') diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp index 6eadb7ffb..3d66a2c82 100644 --- a/beos/beos_window.cpp +++ b/beos/beos_window.cpp @@ -150,6 +150,15 @@ NSBrowserFrameView::MessageReceived(BMessage *message) case B_PASTE: case B_SELECT_ALL: //case B_MOUSE_WHEEL_CHANGED: + // NetPositive messages + case B_NETPOSITIVE_OPEN_URL: + case B_NETPOSITIVE_BACK: + case B_NETPOSITIVE_FORWARD: + case B_NETPOSITIVE_HOME: + case B_NETPOSITIVE_RELOAD: + case B_NETPOSITIVE_STOP: + case B_NETPOSITIVE_DOWN: + case B_NETPOSITIVE_UP: // messages for top-level case 'back': case 'forw': -- cgit v1.2.3