OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/macros.h" | |
please use gerrit instead
2015/06/23 00:43:06
Did iwyu suggest this include?
Julius
2015/06/24 21:17:59
In a previous comment, Dan said to include it for
| |
10 #include "chrome/test/base/web_ui_browser_test.h" | 11 #include "chrome/test/base/web_ui_browser_test.h" |
11 #include "content/public/browser/web_ui_message_handler.h" | 12 #include "content/public/browser/web_ui_message_handler.h" |
12 | 13 |
13 // This is a helper class used by options_browsertest.js to feed the navigation | 14 // This is a helper class used by options_browsertest.js to feed the navigation |
14 // history back to the test. | 15 // history back to the test. |
15 class OptionsBrowserTest : public WebUIBrowserTest, | 16 class OptionsBrowserTest : public WebUIBrowserTest, |
16 public content::WebUIMessageHandler { | 17 public content::WebUIMessageHandler { |
17 public: | 18 public: |
18 OptionsBrowserTest(); | 19 OptionsBrowserTest(); |
19 ~OptionsBrowserTest() override; | 20 ~OptionsBrowserTest() override; |
(...skipping 12 matching lines...) Expand all Loading... | |
32 // A callback for the 'optionsTestReportHistory' message, this sends the | 33 // A callback for the 'optionsTestReportHistory' message, this sends the |
33 // URLs in the "back" tab history, including the current entry, back to the | 34 // URLs in the "back" tab history, including the current entry, back to the |
34 // WebUI via a callback. | 35 // WebUI via a callback. |
35 void ReportHistory(const base::ListValue* list_value); | 36 void ReportHistory(const base::ListValue* list_value); |
36 | 37 |
37 // A callback for the 'optionsTestSetPref' message. The first argument should | 38 // A callback for the 'optionsTestSetPref' message. The first argument should |
38 // be a pref path (e.g., "profile.managed_users"); the second, the new value | 39 // be a pref path (e.g., "profile.managed_users"); the second, the new value |
39 // to set for that pref. | 40 // to set for that pref. |
40 void HandleSetPref(const base::ListValue* args); | 41 void HandleSetPref(const base::ListValue* args); |
41 | 42 |
43 // Enable multilingual spellchecking. | |
44 void SetUpCommandLine(base::CommandLine* command_line) override; | |
please use gerrit instead
2015/06/23 00:43:06
All overrides are usually grouped together per par
Julius
2015/06/24 21:17:59
Done.
| |
45 | |
42 DISALLOW_COPY_AND_ASSIGN(OptionsBrowserTest); | 46 DISALLOW_COPY_AND_ASSIGN(OptionsBrowserTest); |
43 }; | 47 }; |
44 | 48 |
45 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ | 49 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_BROWSERTEST_H_ |
OLD | NEW |