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

Unified Diff: chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h

Issue 1858773006: [Extensions UI] Use the ExtensionMessageBubbleBridge for Views platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h
diff --git a/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h b/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h
index 96986a3d5568abc9c3a36fee56607d94a821f391..8aaf50c7148261f77c40b83aa4e3dec60891b908 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h
+++ b/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h
@@ -33,6 +33,9 @@ class TestToolbarActionsBarBubbleDelegate {
void set_item_list_text(const base::string16& item_list) {
item_list_ = item_list;
}
+ void set_close_on_deactivate(bool close_on_deactivate) {
+ close_on_deactivate_ = close_on_deactivate;
+ }
const ToolbarActionsBarBubbleDelegate::CloseAction* close_action() const {
return close_action_.get();
@@ -56,6 +59,9 @@ class TestToolbarActionsBarBubbleDelegate {
base::string16 learn_more_;
base::string16 item_list_;
+ // Whether to close the bubble on deactivation.
+ bool close_on_deactivate_;
+
DISALLOW_COPY_AND_ASSIGN(TestToolbarActionsBarBubbleDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698