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

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

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/mac/cocoa_protocols.h"
11 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
12 #import "chrome/browser/ui/cocoa/styled_text_field.h" 11 #import "chrome/browser/ui/cocoa/styled_text_field.h"
13 #import "chrome/browser/ui/cocoa/url_drop_target.h" 12 #import "chrome/browser/ui/cocoa/url_drop_target.h"
14 13
15 @class AutocompleteTextFieldCell; 14 @class AutocompleteTextFieldCell;
16 15
17 // AutocompleteTextField intercepts UI actions for forwarding to 16 // AutocompleteTextField intercepts UI actions for forwarding to
18 // OmniboxViewMac (*), and provides a custom look. It works 17 // OmniboxViewMac (*), and provides a custom look. It works
19 // together with AutocompleteTextFieldEditor (mostly for intercepting 18 // together with AutocompleteTextFieldEditor (mostly for intercepting
20 // user actions) and AutocompleteTextFieldCell (mostly for custom 19 // user actions) and AutocompleteTextFieldCell (mostly for custom
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Return the appropriate menu for any decoration under |event|. 137 // Return the appropriate menu for any decoration under |event|.
139 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event; 138 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event;
140 139
141 // Retains |tooltip| (in |currentToolTips_|) and adds this tooltip 140 // Retains |tooltip| (in |currentToolTips_|) and adds this tooltip
142 // via -[NSView addToolTipRect:owner:userData:]. 141 // via -[NSView addToolTipRect:owner:userData:].
143 - (void)addToolTip:(NSString*)tooltip forRect:(NSRect)aRect; 142 - (void)addToolTip:(NSString*)tooltip forRect:(NSRect)aRect;
144 143
145 @end 144 @end
146 145
147 #endif // CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 146 #endif // CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698