OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 { | |
Mark Mentovai
2011/03/25 17:43:52
Can you declare this in the @interface?
Alexei Svitkine (slow)
2011/03/25 19:12:23
Done.
| |
134 return YES; | |
135 } | |
136 | |
131 @end | 137 @end |
OLD | NEW |