diff options
author | dimich@chromium.org <dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 00:16:21 +0000 |
---|---|---|
committer | dimich@chromium.org <dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 00:16:21 +0000 |
commit | f5a49f47ee2fcf48b3b420e3bc94eec893be92f2 (patch) | |
tree | 9320b20e6de4d3b5584fcd77b0f5ed36e9a5b9e3 /chrome/browser/ui/cocoa/notifications/balloon_controller.h | |
parent | cd2ec4bce32b559b5daa47de815a31fc6d469517 (diff) | |
download | chromium_src-f5a49f47ee2fcf48b3b420e3bc94eec893be92f2.zip chromium_src-f5a49f47ee2fcf48b3b420e3bc94eec893be92f2.tar.gz chromium_src-f5a49f47ee2fcf48b3b420e3bc94eec893be92f2.tar.bz2 |
Prevent Notifications on Mac from bringing main browser window to the top when clicked.
The only relevant Notification.xib change: added a custom transparent view backed by BalloonOverlayViewCocoa class on top of the whole Notification balloon, so it gets first crack at mouse messages. The view is using springs to autoresize in both dimensions.
BUG=68589
TEST=none
Review URL: http://codereview.chromium.org/6105001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/notifications/balloon_controller.h')
-rw-r--r-- | chrome/browser/ui/cocoa/notifications/balloon_controller.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/ui/cocoa/notifications/balloon_controller.h b/chrome/browser/ui/cocoa/notifications/balloon_controller.h index 61376b4..fadd35a 100644 --- a/chrome/browser/ui/cocoa/notifications/balloon_controller.h +++ b/chrome/browser/ui/cocoa/notifications/balloon_controller.h @@ -52,9 +52,6 @@ class NotificationOptionsMenuModel; // The host for the renderer of the HTML contents. scoped_ptr<BalloonViewHost> htmlContents_; - - // The psn of the front application process. - ProcessSerialNumber frontProcessNum_; } // Initialize with a balloon object containing the notification data. @@ -86,9 +83,6 @@ class NotificationOptionsMenuModel; // The BalloonHost - (BalloonViewHost*)getHost; - -// Handle the event if it is for the balloon. -- (BOOL)handleEvent:(NSEvent*)event; @end @interface BalloonController (UnitTesting) |