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

Side by Side Diff: chrome/test/base/test_browser_window.h

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Rename everything. Created 3 years, 9 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
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_TEST_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/download/test_download_shelf.h" 9 #include "chrome/browser/download/test_download_shelf.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const StartSyncCallback& start_sync_callback) override {} 109 const StartSyncCallback& start_sync_callback) override {}
110 #endif 110 #endif
111 bool IsDownloadShelfVisible() const override; 111 bool IsDownloadShelfVisible() const override;
112 DownloadShelf* GetDownloadShelf() override; 112 DownloadShelf* GetDownloadShelf() override;
113 void ConfirmBrowserCloseWithPendingDownloads( 113 void ConfirmBrowserCloseWithPendingDownloads(
114 int download_count, 114 int download_count,
115 Browser::DownloadClosePreventionType dialog_type, 115 Browser::DownloadClosePreventionType dialog_type,
116 bool app_modal, 116 bool app_modal,
117 const base::Callback<void(bool)>& callback) override {} 117 const base::Callback<void(bool)>& callback) override {}
118 void UserChangedTheme() override {} 118 void UserChangedTheme() override {}
119 void ShowWebsiteSettings( 119 void ShowPageInfo(
120 Profile* profile, 120 Profile* profile,
121 content::WebContents* web_contents, 121 content::WebContents* web_contents,
122 const GURL& virtual_url, 122 const GURL& virtual_url,
123 const security_state::SecurityInfo& security_info) override {} 123 const security_state::SecurityInfo& security_info) override {}
124 void CutCopyPaste(int command_id) override {} 124 void CutCopyPaste(int command_id) override {}
125 WindowOpenDisposition GetDispositionForPopupBounds( 125 WindowOpenDisposition GetDispositionForPopupBounds(
126 const gfx::Rect& bounds) override; 126 const gfx::Rect& bounds) override;
127 FindBar* CreateFindBar() override; 127 FindBar* CreateFindBar() override;
128 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 128 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
129 override; 129 override;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 namespace chrome { 199 namespace chrome {
200 200
201 // Helper that handle the lifetime of TestBrowserWindow instances. 201 // Helper that handle the lifetime of TestBrowserWindow instances.
202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( 202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams(
203 Browser::CreateParams* params); 203 Browser::CreateParams* params);
204 204
205 } // namespace chrome 205 } // namespace chrome
206 206
207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698