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

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

Issue 2448943002: Refactor SecurityStateModel/Clients for simplicity and reusability. (Closed)
Patch Set: sync. Created 4 years, 1 month 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void ConfirmBrowserCloseWithPendingDownloads( 115 void ConfirmBrowserCloseWithPendingDownloads(
116 int download_count, 116 int download_count,
117 Browser::DownloadClosePreventionType dialog_type, 117 Browser::DownloadClosePreventionType dialog_type,
118 bool app_modal, 118 bool app_modal,
119 const base::Callback<void(bool)>& callback) override {} 119 const base::Callback<void(bool)>& callback) override {}
120 void UserChangedTheme() override {} 120 void UserChangedTheme() override {}
121 void ShowWebsiteSettings( 121 void ShowWebsiteSettings(
122 Profile* profile, 122 Profile* profile,
123 content::WebContents* web_contents, 123 content::WebContents* web_contents,
124 const GURL& virtual_url, 124 const GURL& virtual_url,
125 const security_state::SecurityStateModel::SecurityInfo& security_info) 125 const security_state::SecurityInfo& security_info) override {}
126 override {}
127 void CutCopyPaste(int command_id) override {} 126 void CutCopyPaste(int command_id) override {}
128 WindowOpenDisposition GetDispositionForPopupBounds( 127 WindowOpenDisposition GetDispositionForPopupBounds(
129 const gfx::Rect& bounds) override; 128 const gfx::Rect& bounds) override;
130 FindBar* CreateFindBar() override; 129 FindBar* CreateFindBar() override;
131 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 130 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
132 override; 131 override;
133 void ShowAvatarBubbleFromAvatarButton( 132 void ShowAvatarBubbleFromAvatarButton(
134 AvatarBubbleMode mode, 133 AvatarBubbleMode mode,
135 const signin::ManageAccountsParams& manage_accounts_params, 134 const signin::ManageAccountsParams& manage_accounts_params,
136 signin_metrics::AccessPoint access_point) override {} 135 signin_metrics::AccessPoint access_point) override {}
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 203
205 namespace chrome { 204 namespace chrome {
206 205
207 // Helper that handle the lifetime of TestBrowserWindow instances. 206 // Helper that handle the lifetime of TestBrowserWindow instances.
208 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams(
209 Browser::CreateParams* params); 208 Browser::CreateParams* params);
210 209
211 } // namespace chrome 210 } // namespace chrome
212 211
213 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698