| 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 17 matching lines...) Expand all Loading... |
| 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::string GetAnchorActionId() override; | 35 std::string GetAnchorActionId() override; |
| 36 void OnBubbleShown() override; | 36 void OnBubbleShown() override; |
| 37 void OnBubbleClosed(CloseAction action) override; | 37 void OnBubbleClosed(CloseAction action) override; |
| 38 bool IsExtensionMessageBubble() override; | |
| 39 | 38 |
| 40 std::unique_ptr<extensions::ExtensionMessageBubbleController> controller_; | 39 std::unique_ptr<extensions::ExtensionMessageBubbleController> controller_; |
| 41 | 40 |
| 42 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBridge); | 41 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBridge); |
| 43 }; | 42 }; |
| 44 | 43 |
| 45 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ | 44 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ |
| OLD | NEW |