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

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

Issue 2827603005: Cater for the "double close" when clicking "Learn More" on auto-dismiss extension bubbles. (Closed)
Patch Set: resilience Created 3 years, 8 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_browsertest.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_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BROWSERTEST_H_ 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BROWSERTEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Tests that the extension bubble will show on startup. 100 // Tests that the extension bubble will show on startup.
101 void PreBubbleShowsOnStartup(); 101 void PreBubbleShowsOnStartup();
102 void TestBubbleShowsOnStartup(); 102 void TestBubbleShowsOnStartup();
103 103
104 // Tests that the developer mode warning bubble is only shown once per 104 // Tests that the developer mode warning bubble is only shown once per
105 // profile. 105 // profile.
106 // Regression test for crbug.com/607099. 106 // Regression test for crbug.com/607099.
107 void TestDevModeBubbleIsntShownTwice(); 107 void TestDevModeBubbleIsntShownTwice();
108 108
109 // Tests that the bubble indicating an extension is controlling a user's 109 // Tests that the bubble indicating an extension is controlling a user's
110 // new tab page is shown. 110 // new tab page is shown. When |click_learn_more| is true, the bubble is
111 void TestControlledNewTabPageBubbleShown(); 111 // closed by clicking the Learn More link, otherwise CloseBubble() is used.
112 void TestControlledNewTabPageBubbleShown(bool click_learn_more);
112 113
113 // Tests that the bubble indicating an extension is controlling a user's 114 // Tests that the bubble indicating an extension is controlling a user's
114 // home page is shown. 115 // home page is shown.
115 void TestControlledHomeBubbleShown(); 116 void TestControlledHomeBubbleShown();
116 117
117 // Tests that the bubble indicating an extension is controlling a user's 118 // Tests that the bubble indicating an extension is controlling a user's
118 // search engine is shown. 119 // search engine is shown.
119 void TestControlledSearchBubbleShown(); 120 void TestControlledSearchBubbleShown();
120 121
121 // Tests that the bubble indicating an extension is controlling a user's 122 // Tests that the bubble indicating an extension is controlling a user's
(...skipping 23 matching lines...) Expand all
145 dev_mode_bubble_override_; 146 dev_mode_bubble_override_;
146 147
147 // The backing directory for a custom extension loaded during a test. Null if 148 // The backing directory for a custom extension loaded during a test. Null if
148 // no custom extension is loaded. 149 // no custom extension is loaded.
149 std::unique_ptr<extensions::TestExtensionDir> custom_extension_dir_; 150 std::unique_ptr<extensions::TestExtensionDir> custom_extension_dir_;
150 151
151 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBrowserTest); 152 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleBrowserTest);
152 }; 153 };
153 154
154 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BROWSERTEST_H_ 155 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/extension_message_bubble_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698