OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BIDI_CHECKER_WEB_UI_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "chrome/test/base/web_ui_browser_test.h" | 9 #include "chrome/test/base/web_ui_browser_test.h" |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 void RunBidiCheckerOnPage(const std::string& page_url); | 43 void RunBidiCheckerOnPage(const std::string& page_url); |
44 }; | 44 }; |
45 | 45 |
46 // Base class for BidiChecker-based tests that run with an RTL UI. | 46 // Base class for BidiChecker-based tests that run with an RTL UI. |
47 class WebUIBidiCheckerBrowserTestRTL : public WebUIBidiCheckerBrowserTest { | 47 class WebUIBidiCheckerBrowserTestRTL : public WebUIBidiCheckerBrowserTest { |
48 public: | 48 public: |
49 void RunBidiCheckerOnPage(const std::string& page_url); | 49 void RunBidiCheckerOnPage(const std::string& page_url); |
50 | 50 |
51 protected: | 51 protected: |
52 virtual void SetUpOnMainThread() OVERRIDE; | 52 virtual void SetUpOnMainThread() OVERRIDE; |
53 virtual void CleanUpOnMainThread() OVERRIDE; | 53 virtual void TearDownOnMainThread() OVERRIDE; |
54 | 54 |
55 // The app locale before we change it | 55 // The app locale before we change it |
56 std::string app_locale_; | 56 std::string app_locale_; |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 59 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
OLD | NEW |