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

Side by Side Diff: chrome/browser/ui/cocoa/find_bar/find_bar_view.mm

Issue 6676094: Fix for "Mouseovers follow the cursor even when there's a find bar in the way" (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 9 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/ui/cocoa/find_bar/find_bar_view.h ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #import "chrome/browser/ui/cocoa/find_bar/find_bar_view.h" 5 #import "chrome/browser/ui/cocoa/find_bar/find_bar_view.h"
6 6
7 #import "chrome/browser/ui/cocoa/themed_window.h" 7 #import "chrome/browser/ui/cocoa/themed_window.h"
8 #import "chrome/browser/ui/cocoa/url_drop_target.h" 8 #import "chrome/browser/ui/cocoa/url_drop_target.h"
9 #import "chrome/browser/ui/cocoa/view_id_util.h" 9 #import "chrome/browser/ui/cocoa/view_id_util.h"
10 10
11 namespace { 11 namespace {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 // Eat drag operations, to prevent drags from going through to the views below. 122 // Eat drag operations, to prevent drags from going through to the views below.
123 - (NSDragOperation)draggingEntered:(id<NSDraggingInfo>)info { 123 - (NSDragOperation)draggingEntered:(id<NSDraggingInfo>)info {
124 return NSDragOperationNone; 124 return NSDragOperationNone;
125 } 125 }
126 126
127 - (ViewID)viewID { 127 - (ViewID)viewID {
128 return VIEW_ID_FIND_IN_PAGE; 128 return VIEW_ID_FIND_IN_PAGE;
129 } 129 }
130 130
131 // Specifies that mouse events over this view should be ignored by the
132 // render host.
133 - (BOOL)nonWebContentView {
134 return YES;
135 }
136
131 @end 137 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698