| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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_BLOCKED_ACTION_BUBBLE_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_BLOCKED_ACTION_BUBBLE_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_BLOCKED_ACTION_BUBBLE_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_BLOCKED_ACTION_BUBBLE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h" | 10 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 bool ShouldCloseOnDeactivate() override; | 23 bool ShouldCloseOnDeactivate() override; |
| 24 base::string16 GetHeadingText() override; | 24 base::string16 GetHeadingText() override; |
| 25 base::string16 GetBodyText(bool anchored_to_action) override; | 25 base::string16 GetBodyText(bool anchored_to_action) override; |
| 26 base::string16 GetItemListText() override; | 26 base::string16 GetItemListText() override; |
| 27 base::string16 GetActionButtonText() override; | 27 base::string16 GetActionButtonText() override; |
| 28 base::string16 GetDismissButtonText() override; | 28 base::string16 GetDismissButtonText() override; |
| 29 base::string16 GetLearnMoreButtonText() override; | 29 base::string16 GetLearnMoreButtonText() override; |
| 30 std::string GetAnchorActionId() override; | 30 std::string GetAnchorActionId() override; |
| 31 void OnBubbleShown() override; | 31 void OnBubbleShown() override; |
| 32 void OnBubbleClosed(CloseAction action) override; | 32 void OnBubbleClosed(CloseAction action) override; |
| 33 bool IsExtensionMessageBubble() override; | |
| 34 | 33 |
| 35 base::Callback<void(CloseAction)> callback_; | 34 base::Callback<void(CloseAction)> callback_; |
| 36 std::string extension_id_; | 35 std::string extension_id_; |
| 37 | 36 |
| 38 DISALLOW_COPY_AND_ASSIGN(BlockedActionBubbleDelegate); | 37 DISALLOW_COPY_AND_ASSIGN(BlockedActionBubbleDelegate); |
| 39 }; | 38 }; |
| 40 | 39 |
| 41 #endif // CHROME_BROWSER_UI_EXTENSIONS_BLOCKED_ACTION_BUBBLE_DELEGATE_H_ | 40 #endif // CHROME_BROWSER_UI_EXTENSIONS_BLOCKED_ACTION_BUBBLE_DELEGATE_H_ |
| OLD | NEW |