| 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_TOOLBAR_ICON_SURFACING_BUBBLE_DEL
EGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_TOOLBAR_ICON_SURFACING_BUBBLE_DEL
EGATE_H_ |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_TOOLBAR_ICON_SURFACING_BUBBLE_DEL
EGATE_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_TOOLBAR_ICON_SURFACING_BUBBLE_DEL
EGATE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h" | 9 #include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h" |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 static bool ShouldShowForProfile(Profile* profile); | 22 static bool ShouldShowForProfile(Profile* profile); |
| 23 | 23 |
| 24 private: | 24 private: |
| 25 // ToolbarActionsBarBubbleDelegate: | 25 // ToolbarActionsBarBubbleDelegate: |
| 26 base::string16 GetHeadingText() override; | 26 base::string16 GetHeadingText() override; |
| 27 base::string16 GetBodyText() override; | 27 base::string16 GetBodyText() override; |
| 28 base::string16 GetItemListText() override; | 28 base::string16 GetItemListText() override; |
| 29 base::string16 GetActionButtonText() override; | 29 base::string16 GetActionButtonText() override; |
| 30 base::string16 GetDismissButtonText() override; | 30 base::string16 GetDismissButtonText() override; |
| 31 base::string16 GetLearnMoreButtonText() override; | 31 base::string16 GetLearnMoreButtonText() override; |
| 32 std::string GetAnchorActionId() override; |
| 32 void OnBubbleShown() override; | 33 void OnBubbleShown() override; |
| 33 void OnBubbleClosed(CloseAction action) override; | 34 void OnBubbleClosed(CloseAction action) override; |
| 34 | 35 |
| 35 Profile* profile_; | 36 Profile* profile_; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(ExtensionToolbarIconSurfacingBubbleDelegate); | 38 DISALLOW_COPY_AND_ASSIGN(ExtensionToolbarIconSurfacingBubbleDelegate); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_TOOLBAR_ICON_SURFACING_BUBBLE_
DELEGATE_H_ | 41 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_TOOLBAR_ICON_SURFACING_BUBBLE_
DELEGATE_H_ |
| OLD | NEW |