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

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

Issue 2805070: [Mac] First part of Omnibox decoration refactor. Enable ev bubble. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: comment clarification 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/location_bar/autocomplete_text_field.mm » ('j') | 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) 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 page actions under event. 128 // Return the appropriate menu for any page actions under event.
129 // Returns nil if no menu is present for the action, or if the event 129 // Returns nil if no menu is present for the action, or if the event
130 // is not over an action. 130 // is not over an action.
131 - (NSMenu*)actionMenuForEvent:(NSEvent*)event; 131 - (NSMenu*)actionMenuForEvent:(NSEvent*)event;
132 132
133 // If the location icon is draggable, return its drag pasteboard.
134 - (NSPasteboard*)locationDragPasteboard;
135
136 @end 133 @end
137 134
138 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 135 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/location_bar/autocomplete_text_field.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698