| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |