| 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_SETTINGS_API_BUBBLE_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_API_BUBBLE_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_BUBBLE_DELEGATE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_BUBBLE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 GURL GetLearnMoreUrl() const override; | 35 GURL GetLearnMoreUrl() const override; |
| 36 base::string16 GetActionButtonLabel() const override; | 36 base::string16 GetActionButtonLabel() const override; |
| 37 base::string16 GetDismissButtonLabel() const override; | 37 base::string16 GetDismissButtonLabel() const override; |
| 38 bool ShouldCloseOnDeactivate() const override; | 38 bool ShouldCloseOnDeactivate() const override; |
| 39 bool ShouldShowExtensionList() const override; | 39 bool ShouldShowExtensionList() const override; |
| 40 bool ShouldHighlightExtensions() const override; | 40 bool ShouldHighlightExtensions() const override; |
| 41 bool ShouldLimitToEnabledExtensions() const override; | 41 bool ShouldLimitToEnabledExtensions() const override; |
| 42 void LogExtensionCount(size_t count) override; | 42 void LogExtensionCount(size_t count) override; |
| 43 void LogAction(ExtensionMessageBubbleController::BubbleAction) override; | 43 void LogAction(ExtensionMessageBubbleController::BubbleAction) override; |
| 44 const char* GetKey() override; | 44 const char* GetKey() override; |
| 45 bool SupportsPolicyIndicator() override; |
| 45 | 46 |
| 46 private: | 47 private: |
| 47 // The type of settings override this bubble will report on. This can be, for | 48 // The type of settings override this bubble will report on. This can be, for |
| 48 // example, a bubble to notify the user that the search engine has been | 49 // example, a bubble to notify the user that the search engine has been |
| 49 // changed by an extension (or homepage/startup pages/etc). | 50 // changed by an extension (or homepage/startup pages/etc). |
| 50 SettingsApiOverrideType type_; | 51 SettingsApiOverrideType type_; |
| 51 | 52 |
| 52 // The ID of the extension we are showing the bubble for. | 53 // The ID of the extension we are showing the bubble for. |
| 53 std::string extension_id_; | 54 std::string extension_id_; |
| 54 | 55 |
| 55 DISALLOW_COPY_AND_ASSIGN(SettingsApiBubbleDelegate); | 56 DISALLOW_COPY_AND_ASSIGN(SettingsApiBubbleDelegate); |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 } // namespace extensions | 59 } // namespace extensions |
| 59 | 60 |
| 60 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_BUBBLE_DELEGATE_H_ | 61 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_BUBBLE_DELEGATE_H_ |
| OLD | NEW |