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

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

Issue 2206693002: Improve settings override bubble to indicate policy installed extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 1 month 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.cc
diff --git a/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc b/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
index d71f71e42f6b71b58e93cd5636da5e9cd6c8b9e1..4e2ea3d49d21efcdc08ae5ffb57fc789e5fd7e4c 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
+++ b/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
class TestToolbarActionsBarBubbleDelegate::DelegateImpl
: public ToolbarActionsBarBubbleDelegate {
@@ -29,6 +30,10 @@ class TestToolbarActionsBarBubbleDelegate::DelegateImpl
base::string16 GetLearnMoreButtonText() override {
return parent_->learn_more_;
}
+ std::unique_ptr<ToolbarActionsBarBubbleDelegate::ExtraViewInfo>
+ GetExtraViewInfo() override {
+ return base::MakeUnique<ExtraViewInfo>(parent_->extra_view_info_);
+ }
std::string GetAnchorActionId() override { return std::string(); }
void OnBubbleShown() override {
CHECK(!parent_->shown_);

Powered by Google App Engine
This is Rietveld 408576698