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

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

Issue 1540009: [Mac] Move star button into page-actions area of omnibox. (Closed)
Patch Set: Why did the trybot fail? I can't see anything. Created 10 years, 8 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 | « chrome/app/nibs/Toolbar.xib ('k') | chrome/browser/cocoa/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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Updates cursor and tooltip rects depending on the contents of the text field 112 // Updates cursor and tooltip rects depending on the contents of the text field
113 // e.g. the security icon should have a default pointer shown on hover instead 113 // e.g. the security icon should have a default pointer shown on hover instead
114 // of an I-beam. 114 // of an I-beam.
115 - (void)updateCursorAndToolTipRects; 115 - (void)updateCursorAndToolTipRects;
116 116
117 // Return the appropriate menu for any page actions under event. 117 // Return the appropriate menu for any page actions under event.
118 // Returns nil if no menu is present for the action, or if the event 118 // Returns nil if no menu is present for the action, or if the event
119 // is not over an action. 119 // is not over an action.
120 - (NSMenu*)actionMenuForEvent:(NSEvent*)event; 120 - (NSMenu*)actionMenuForEvent:(NSEvent*)event;
121 121
122 // Return the rectangle the star is being shown in, for purposes of
123 // positioning the bookmark bubble.
124 - (NSRect)starIconFrame;
125
122 @end 126 @end
123 127
124 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ 128 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_
OLDNEW
« no previous file with comments | « chrome/app/nibs/Toolbar.xib ('k') | chrome/browser/cocoa/autocomplete_text_field.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698