Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h

Issue 1809813002: [Extensions] Show a "refresh" bubble when needed with click-to-script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.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 14 matching lines...) Expand all
25 ~ExtensionMessageBubbleBridge() override; 25 ~ExtensionMessageBubbleBridge() override;
26 26
27 private: 27 private:
28 // ToolbarActionsBarBubbleDelegate: 28 // ToolbarActionsBarBubbleDelegate:
29 base::string16 GetHeadingText() override; 29 base::string16 GetHeadingText() override;
30 base::string16 GetBodyText() override; 30 base::string16 GetBodyText() 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 void OnBubbleShown() override; 36 void OnBubbleShown() override;
36 void OnBubbleClosed(CloseAction action) override; 37 void OnBubbleClosed(CloseAction action) override;
37 38
38 scoped_ptr<extensions::ExtensionMessageBubbleController> controller_; 39 scoped_ptr<extensions::ExtensionMessageBubbleController> controller_;
39 40
40 // True if the bubble is anchored to an extension action. 41 // True if the bubble is anchored to an extension action.
41 bool anchored_to_extension_; 42 bool anchored_to_extension_;
42 43
43 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBridge); 44 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBridge);
44 }; 45 };
45 46
46 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_ 47 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698