OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 const base::string16& overflow_count) const override; | 33 const base::string16& overflow_count) const override; |
34 GURL GetLearnMoreUrl() const override; | 34 GURL GetLearnMoreUrl() const override; |
35 base::string16 GetActionButtonLabel() const override; | 35 base::string16 GetActionButtonLabel() const override; |
36 base::string16 GetDismissButtonLabel() const override; | 36 base::string16 GetDismissButtonLabel() const override; |
37 bool ShouldCloseOnDeactivate() const override; | 37 bool ShouldCloseOnDeactivate() const override; |
38 bool ShouldShowExtensionList() const override; | 38 bool ShouldShowExtensionList() const override; |
39 bool ShouldHighlightExtensions() const override; | 39 bool ShouldHighlightExtensions() const override; |
40 bool ShouldLimitToEnabledExtensions() const override; | 40 bool ShouldLimitToEnabledExtensions() const override; |
41 void LogExtensionCount(size_t count) override; | 41 void LogExtensionCount(size_t count) override; |
42 void LogAction(ExtensionMessageBubbleController::BubbleAction) override; | 42 void LogAction(ExtensionMessageBubbleController::BubbleAction) override; |
43 const char* GetKey() override; | |
44 | 43 |
45 private: | 44 private: |
46 // The ID of the extension we are showing the bubble for. | 45 // The ID of the extension we are showing the bubble for. |
47 std::string extension_id_; | 46 std::string extension_id_; |
48 | 47 |
49 DISALLOW_COPY_AND_ASSIGN(ProxyOverriddenBubbleDelegate); | 48 DISALLOW_COPY_AND_ASSIGN(ProxyOverriddenBubbleDelegate); |
50 }; | 49 }; |
51 | 50 |
52 } // namespace extensions | 51 } // namespace extensions |
53 | 52 |
54 #endif // CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_ | 53 #endif // CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_ |
OLD | NEW |