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

Side by Side Diff: chrome/browser/ui/extensions/extension_message_bubble_factory.h

Issue 1786933002: Revert of [Extension UI Views] Add tests for clicking the different message bubble buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/extension_message_bubble_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_FACTORY_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_FACTORY_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 10
(...skipping 16 matching lines...) Expand all
27 }; 27 };
28 28
29 explicit ExtensionMessageBubbleFactory(Browser* browser); 29 explicit ExtensionMessageBubbleFactory(Browser* browser);
30 ~ExtensionMessageBubbleFactory(); 30 ~ExtensionMessageBubbleFactory();
31 31
32 // Returns the controller for the bubble that should be shown, if any. 32 // Returns the controller for the bubble that should be shown, if any.
33 scoped_ptr<extensions::ExtensionMessageBubbleController> GetController(); 33 scoped_ptr<extensions::ExtensionMessageBubbleController> GetController();
34 34
35 // Overrides the default behavior for testing. 35 // Overrides the default behavior for testing.
36 static void set_override_for_tests(OverrideForTesting override); 36 static void set_override_for_tests(OverrideForTesting override);
37 static bool is_enabled_for_testing();
38 37
39 private: 38 private:
40 Browser* browser_; 39 Browser* browser_;
41 40
42 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleFactory); 41 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleFactory);
43 }; 42 };
44 43
45 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_FACTORY_H_ 44 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/extension_message_bubble_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698