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

Side by Side Diff: chrome/browser/cocoa/location_bar/autocomplete_text_field.h

Issue 2868058: [Mac] Re-enable decoration tooltips in omnibox. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: 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 unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 5 #ifndef CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
6 #define CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 6 #define CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/cocoa_protocols_mac.h" 10 #include "base/cocoa_protocols_mac.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 - (void)clearUndoChain; 121 - (void)clearUndoChain;
122 122
123 // Updates cursor and tooltip rects depending on the contents of the text field 123 // Updates cursor and tooltip rects depending on the contents of the text field
124 // e.g. the security icon should have a default pointer shown on hover instead 124 // e.g. the security icon should have a default pointer shown on hover instead
125 // of an I-beam. 125 // of an I-beam.
126 - (void)updateCursorAndToolTipRects; 126 - (void)updateCursorAndToolTipRects;
127 127
128 // Return the appropriate menu for any decoration under |event|. 128 // Return the appropriate menu for any decoration under |event|.
129 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event; 129 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event;
130 130
131 // Retains |tooltip| (in |currentToolTips_|) and adds this tooltip
132 // via -[NSView addToolTipRect:owner:userData:].
133 - (void)addToolTip:(NSString*)tooltip forRect:(NSRect)aRect;
134
131 @end 135 @end
132 136
133 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 137 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698