| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 private: | 25 private: |
| 26 // ToolbarActionsBarBubbleDelegate: | 26 // ToolbarActionsBarBubbleDelegate: |
| 27 bool ShouldShow() override; | 27 bool ShouldShow() override; |
| 28 bool ShouldCloseOnDeactivate() override; | 28 bool ShouldCloseOnDeactivate() override; |
| 29 base::string16 GetHeadingText() override; | 29 base::string16 GetHeadingText() override; |
| 30 base::string16 GetBodyText(bool anchored_to_action) override; | 30 base::string16 GetBodyText(bool anchored_to_action) override; |
| 31 base::string16 GetItemListText() override; | 31 base::string16 GetItemListText() override; |
| 32 base::string16 GetActionButtonText() override; | 32 base::string16 GetActionButtonText() override; |
| 33 base::string16 GetDismissButtonText() override; | 33 base::string16 GetDismissButtonText() override; |
| 34 base::string16 GetLearnMoreButtonText() override; | 34 base::string16 GetLearnMoreButtonText() override; |
| 35 std::unique_ptr<ToolbarActionsBarBubbleDelegate::ExtraViewInfo> |
| 36 GetExtraViewInfo() override; |
| 35 std::string GetAnchorActionId() override; | 37 std::string GetAnchorActionId() override; |
| 36 void OnBubbleShown() override; | 38 void OnBubbleShown() override; |
| 37 void OnBubbleClosed(CloseAction action) override; | 39 void OnBubbleClosed(CloseAction action) override; |
| 38 | 40 |
| 39 std::unique_ptr<extensions::ExtensionMessageBubbleController> controller_; | 41 std::unique_ptr<extensions::ExtensionMessageBubbleController> controller_; |
| 40 | 42 |
| 41 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBridge); | 43 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBridge); |
| 42 }; | 44 }; |
| 43 | 45 |
| 44 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ | 46 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ |
| OLD | NEW |