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

Side by Side Diff: chrome/browser/extensions/dev_mode_bubble_delegate.cc

Issue 1881773002: [Extensions UI] Convert ExtensionMessageBubbles to ToolbarActionsBarBubbles (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/extensions/dev_mode_bubble_delegate.h" 5 #include "chrome/browser/extensions/dev_mode_bubble_delegate.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "chrome/browser/extensions/extension_action_manager.h" 9 #include "chrome/browser/extensions/extension_action_manager.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 base::string16 DevModeBubbleDelegate::GetDismissButtonLabel() const { 69 base::string16 DevModeBubbleDelegate::GetDismissButtonLabel() const {
70 return l10n_util::GetStringUTF16(IDS_CANCEL); 70 return l10n_util::GetStringUTF16(IDS_CANCEL);
71 } 71 }
72 72
73 bool DevModeBubbleDelegate::ShouldCloseOnDeactivate() const { 73 bool DevModeBubbleDelegate::ShouldCloseOnDeactivate() const {
74 return false; 74 return false;
75 } 75 }
76 76
77 bool DevModeBubbleDelegate::ShouldShowExtensionList() const { 77 bool DevModeBubbleDelegate::ShouldShowExtensionList() const {
78 return false; 78 return true;
79 } 79 }
80 80
81 bool DevModeBubbleDelegate::ShouldHighlightExtensions() const { 81 bool DevModeBubbleDelegate::ShouldHighlightExtensions() const {
82 return true; 82 return true;
83 } 83 }
84 84
85 bool DevModeBubbleDelegate::ShouldLimitToEnabledExtensions() const { 85 bool DevModeBubbleDelegate::ShouldLimitToEnabledExtensions() const {
86 return true; 86 return true;
87 } 87 }
88 88
(...skipping 11 matching lines...) Expand all
100 100
101 const char* DevModeBubbleDelegate::GetKey() { 101 const char* DevModeBubbleDelegate::GetKey() {
102 return "DevModeBubbleDelegate"; 102 return "DevModeBubbleDelegate";
103 } 103 }
104 104
105 bool DevModeBubbleDelegate::ClearProfileSetAfterAction() { 105 bool DevModeBubbleDelegate::ClearProfileSetAfterAction() {
106 return false; 106 return false;
107 } 107 }
108 108
109 } // namespace extensions 109 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698