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

Side by Side Diff: chrome/browser/ui/extensions/blocked_action_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 unified diff | Download patch
OLDNEW
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 #include "chrome/browser/ui/extensions/blocked_action_bubble_delegate.h" 5 #include "chrome/browser/ui/extensions/blocked_action_bubble_delegate.h"
6 6
7 #include "base/callback_helpers.h" 7 #include "base/callback_helpers.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "chrome/grit/generated_resources.h" 9 #include "chrome/grit/generated_resources.h"
10 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 std::string BlockedActionBubbleDelegate::GetAnchorActionId() { 56 std::string BlockedActionBubbleDelegate::GetAnchorActionId() {
57 return extension_id_; 57 return extension_id_;
58 } 58 }
59 59
60 void BlockedActionBubbleDelegate::OnBubbleShown() {} 60 void BlockedActionBubbleDelegate::OnBubbleShown() {}
61 61
62 void BlockedActionBubbleDelegate::OnBubbleClosed(CloseAction action) { 62 void BlockedActionBubbleDelegate::OnBubbleClosed(CloseAction action) {
63 base::ResetAndReturn(&callback_).Run(action); 63 base::ResetAndReturn(&callback_).Run(action);
64 } 64 }
65
66 std::unique_ptr<ToolbarActionsBarBubbleDelegate::ExtraViewInfo>
67 BlockedActionBubbleDelegate::GetExtraViewInfo() {
68 return nullptr;
69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698