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

Unified Diff: chrome/browser/cocoa/location_bar/autocomplete_text_field.mm

Issue 2825048: [Mac] Allow omnibox decorations to decline mouse events. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Rohit's comment comment, and merge with content-setting change. Created 10 years, 5 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 | « no previous file | chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/location_bar/autocomplete_text_field.mm
diff --git a/chrome/browser/cocoa/location_bar/autocomplete_text_field.mm b/chrome/browser/cocoa/location_bar/autocomplete_text_field.mm
index 041cff806eaf374061215dbca727308852edec9d..64645100752c849144c03df59ec758ae9459d43e 100644
--- a/chrome/browser/cocoa/location_bar/autocomplete_text_field.mm
+++ b/chrome/browser/cocoa/location_bar/autocomplete_text_field.mm
@@ -204,19 +204,6 @@
[undoManager_ removeAllActions];
}
-// Show the I-beam cursor unless the mouse is over an image within the field
-// (Page Actions or the security icon) in which case show the arrow cursor.
-// TODO(rohitrao): Should default to the arrow cursor. http://crbug.com/41612
-- (void)resetCursorRects {
- NSRect fieldBounds = [self bounds];
- [self addCursorRect:fieldBounds cursor:[NSCursor IBeamCursor]];
-
- // TODO(shess): This needs to traverse the LocationBarDecorations
- // and put up a cursor for them, too. Except for the keyword-search
- // stuff? Sigh.
- // http://crbug.com/48867
-}
-
// TODO(shess): -resetFieldEditorFrameIfNeeded is the place where
// changes to the cell layout should be flushed. LocationBarViewMac
// and ToolbarController are calling this routine directly, and I
« no previous file with comments | « no previous file | chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698