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

Side by Side Diff: chrome/browser/extensions/proxy_overridden_bubble_delegate.h

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 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 25 matching lines...) Expand all
36 GURL GetLearnMoreUrl() const override; 36 GURL GetLearnMoreUrl() const override;
37 base::string16 GetActionButtonLabel() const override; 37 base::string16 GetActionButtonLabel() const override;
38 base::string16 GetDismissButtonLabel() const override; 38 base::string16 GetDismissButtonLabel() const override;
39 bool ShouldCloseOnDeactivate() const override; 39 bool ShouldCloseOnDeactivate() const override;
40 bool ShouldShowExtensionList() const override; 40 bool ShouldShowExtensionList() const override;
41 bool ShouldHighlightExtensions() const override; 41 bool ShouldHighlightExtensions() const override;
42 bool ShouldLimitToEnabledExtensions() const override; 42 bool ShouldLimitToEnabledExtensions() const override;
43 void LogExtensionCount(size_t count) override; 43 void LogExtensionCount(size_t count) override;
44 void LogAction(ExtensionMessageBubbleController::BubbleAction) override; 44 void LogAction(ExtensionMessageBubbleController::BubbleAction) override;
45 const char* GetKey() override; 45 const char* GetKey() override;
46 bool SupportsPolicyIndicator() override;
46 47
47 private: 48 private:
48 // The ID of the extension we are showing the bubble for. 49 // The ID of the extension we are showing the bubble for.
49 std::string extension_id_; 50 std::string extension_id_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(ProxyOverriddenBubbleDelegate); 52 DISALLOW_COPY_AND_ASSIGN(ProxyOverriddenBubbleDelegate);
52 }; 53 };
53 54
54 } // namespace extensions 55 } // namespace extensions
55 56
56 #endif // CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_ 57 #endif // CHROME_BROWSER_EXTENSIONS_PROXY_OVERRIDDEN_BUBBLE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698