Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4019)

Unified Diff: chrome/browser/cocoa/toolbar_view.mm

Issue 164528: Prevent mouse down events on the toolbar view from moving the parent window (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/toolbar_view.h ('k') | chrome/browser/cocoa/toolbar_view_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/toolbar_view.mm
===================================================================
--- chrome/browser/cocoa/toolbar_view.mm (revision 23408)
+++ chrome/browser/cocoa/toolbar_view.mm (working copy)
@@ -5,4 +5,10 @@
#include "chrome/browser/cocoa/toolbar_view.h"
@implementation ToolbarView
+
+// Prevent mouse down events from moving the parent window around.
+- (BOOL)mouseDownCanMoveWindow {
+ return NO;
+}
+
@end
« no previous file with comments | « chrome/browser/cocoa/toolbar_view.h ('k') | chrome/browser/cocoa/toolbar_view_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698