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

Side by Side Diff: chrome/browser/ui/webui/bidi_checker_web_ui_test.h

Issue 11316299: Enable web-based sign in flow by default. Can use command line argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix BiDi tests and indent Created 8 years 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 | Annotate | Revision Log
OLDNEW
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 <string> 8 #include <string>
9 9
10 #include "chrome/browser/ui/webui/web_ui_browsertest.h" 10 #include "chrome/browser/ui/webui/web_ui_browsertest.h"
11 #include "chrome/test/base/in_process_browser_test.h" 11 #include "chrome/test/base/in_process_browser_test.h"
12 12
13 namespace base { 13 namespace base {
14 class WaitableEvent; 14 class WaitableEvent;
15 } 15 }
16 16
17 // Base class for BidiChecker-based tests. Preloads the BidiChecker JS library 17 // Base class for BidiChecker-based tests. Preloads the BidiChecker JS library
18 // for each test. 18 // for each test.
19 class WebUIBidiCheckerBrowserTest : public WebUIBrowserTest { 19 class WebUIBidiCheckerBrowserTest : public WebUIBrowserTest {
20 public: 20 public:
21 virtual ~WebUIBidiCheckerBrowserTest(); 21 virtual ~WebUIBidiCheckerBrowserTest();
22 22
23 virtual void SetUp() OVERRIDE;
24
23 protected: 25 protected:
24 WebUIBidiCheckerBrowserTest(); 26 WebUIBidiCheckerBrowserTest();
25 27
26 // Runs the Bidi Checker on the given page URL. |is_rtl| should be true when 28 // Runs the Bidi Checker on the given page URL. |is_rtl| should be true when
27 // the active page locale is RTL. 29 // the active page locale is RTL.
28 void RunBidiCheckerOnPage(const std::string& page_url, bool is_rtl); 30 void RunBidiCheckerOnPage(const std::string& page_url, bool is_rtl);
29 31
30 // Setup test path. 32 // Setup test path.
31 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE; 33 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE;
32 }; 34 };
(...skipping 11 matching lines...) Expand all
44 46
45 protected: 47 protected:
46 virtual void SetUpOnMainThread() OVERRIDE; 48 virtual void SetUpOnMainThread() OVERRIDE;
47 virtual void CleanUpOnMainThread() OVERRIDE; 49 virtual void CleanUpOnMainThread() OVERRIDE;
48 50
49 // The app locale before we change it 51 // The app locale before we change it
50 std::string app_locale_; 52 std::string app_locale_;
51 }; 53 };
52 54
53 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ 55 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_helper_unittest.cc ('k') | chrome/browser/ui/webui/bidi_checker_web_ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698