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

Unified Diff: chrome/browser/ui/webui/options/options_ui_browsertest.h

Issue 2913343002: Start removing deprecated Options UI code (Closed)
Patch Set: thestig@ review Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/options_ui_browsertest.h
diff --git a/chrome/browser/ui/webui/options/options_ui_browsertest.h b/chrome/browser/ui/webui/options/options_ui_browsertest.h
deleted file mode 100644
index 35b49b2e6dd9ba2d4f1ae663c1bbebc3017d199b..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/options/options_ui_browsertest.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_BROWSERTEST_H_
-#define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_BROWSERTEST_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "base/test/scoped_feature_list.h"
-#include "chrome/test/base/in_process_browser_test.h"
-
-namespace content {
-class RenderFrameHost;
-}
-
-namespace options {
-
-class OptionsUIBrowserTest : public InProcessBrowserTest {
- public:
- OptionsUIBrowserTest();
-
- void SetUpInProcessBrowserTestFixture() override;
-
- // Navigate to the Uber/Settings page and block until it has loaded.
- void NavigateToSettings();
-
- // Navigate to a certain subpage in the Uber/Settings page and block until it
- // has loaded.
- void NavigateToSettingsSubpage(const std::string& sub_page);
-
- // Navigate to the Settings frame and block until complete.
- void NavigateToSettingsFrame();
-
- // Check navbar's existence.
- void VerifyNavbar();
-
- // Verify that the page title is correct.
- // The only guarantee we can make about the title of a settings tab is that
- // it should contain IDS_SETTINGS_TITLE somewhere.
- void VerifyTitle();
-
- protected:
- // Returns the RenderFrameHost associated with the Settings frame inside the
- // Uber UI page (which must be already loaded).
- content::RenderFrameHost* GetSettingsFrame();
-
- private:
- base::test::ScopedFeatureList disable_md_settings_;
-
- DISALLOW_COPY_AND_ASSIGN(OptionsUIBrowserTest);
-};
-
-} // namespace options
-
-#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_BROWSERTEST_H_

Powered by Google App Engine
This is Rietveld 408576698