| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |