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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/cocoa/toolbar_view.h" 5 #include "chrome/browser/cocoa/toolbar_view.h"
6 6
7 @implementation ToolbarView 7 @implementation ToolbarView
8
9 // Prevent mouse down events from moving the parent window around.
10 - (BOOL)mouseDownCanMoveWindow {
11 return NO;
12 }
13
8 @end 14 @end
OLDNEW
« 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