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