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

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

Issue 95133002: Add an extension bubble explaining which extensions are in dev mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 7 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_SUSPICIOUS_EXTENSION_BUBBLE_H_
6 #define CHROME_BROWSER_EXTENSIONS_SUSPICIOUS_EXTENSION_BUBBLE_H_
7
8 #include "base/bind.h"
9
10 class Browser;
11
12 namespace extensions {
13
14 // The interface between the SuspiciousExtensionBubble bubble and its
15 // controller.
16 class SuspiciousExtensionBubble {
17 public:
18 // Setup the callback for when the button is clicked in the bubble.
19 virtual void OnButtonClicked(const base::Closure& callback) = 0;
20 // Setup the callback for when the link is clicked in the bubble.
21 virtual void OnLinkClicked(const base::Closure&) = 0;
22 // Instruct the bubble to appear.
23 virtual void Show() = 0;
24 };
25
26 } // namespace extensions
27
28 #endif // CHROME_BROWSER_EXTENSIONS_SUSPICIOUS_EXTENSION_BUBBLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/suspicious_extension_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698