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

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

Issue 7980026: Move some chrome-specific bits out of InProcessBrowserTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/web_ui_browsertest.h" 9 #include "chrome/browser/ui/webui/web_ui_browsertest.h"
10 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 17 matching lines...) Expand all
28 28
29 // Base class for BidiChecker-based tests that run with an RTL UI. 29 // Base class for BidiChecker-based tests that run with an RTL UI.
30 // Preloads the BidiChecker JS library for each test, as well as modifies the 30 // Preloads the BidiChecker JS library for each test, as well as modifies the
31 // active language. 31 // active language.
32 class WebUIBidiCheckerBrowserTestFakeBidi : public WebUIBidiCheckerBrowserTest { 32 class WebUIBidiCheckerBrowserTestFakeBidi : public WebUIBidiCheckerBrowserTest {
33 public: 33 public:
34 virtual ~WebUIBidiCheckerBrowserTestFakeBidi(); 34 virtual ~WebUIBidiCheckerBrowserTestFakeBidi();
35 35
36 protected: 36 protected:
37 WebUIBidiCheckerBrowserTestFakeBidi(); 37 WebUIBidiCheckerBrowserTestFakeBidi();
38 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE; 38
39 virtual void TearDownInProcessBrowserTestFixture() OVERRIDE; 39 virtual void SetUpOnMainThread() OVERRIDE;
40 virtual void CleanUpOnMainThread() OVERRIDE;
41
40 // The app locale before we change it 42 // The app locale before we change it
41 std::string app_locale_; 43 std::string app_locale_;
42 }; 44 };
43 45
44 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ 46 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698