Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_ICON_BUBBLE_CONTROLLER_H_ | |
| 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_ICON_BUBBLE_CONTROLLER_H_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | |
| 11 | |
| 12 class LocationBarDecoration; | |
| 13 | |
| 14 // Base bubble controller for bubbles that are anchored to an omnibox icon. | |
| 15 // This controller updates the active state of the associated icon according to | |
| 16 // the state of the bubble. | |
| 17 @interface OmniboxIconBubbleController : BaseBubbleController | |
|
Robert Sesek
2016/11/21 19:28:23
s/Icon/Decoration ?
spqchan
2016/11/23 22:58:54
sure
| |
| 18 | |
| 19 // Returns the omnibox icon the bubble is anchored to. | |
| 20 // Subclasses are expected to override this. | |
| 21 - (LocationBarDecoration*)decorationForBubble; | |
| 22 | |
| 23 @end | |
| 24 | |
| 25 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_ICON_BUBBLE_CONTROLLER_H_ | |
| OLD | NEW |