| 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_DECORATION_BUBBLE_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_DECORATION_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 |
| 15 // decoration. This controller updates the active state of the associated icon |
| 16 // according to the state of the bubble. |
| 17 @interface OmniboxDecorationBubbleController : BaseBubbleController |
| 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_DECORATION_BUBBLE_CONTROLLER_H_ |
| OLD | NEW |