| OLD | NEW | 
|---|
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|