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

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

Issue 1314953009: Refactor WebsiteSettings to operate on a SecurityInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const StartSyncCallback& start_sync_callback) override {} 125 const StartSyncCallback& start_sync_callback) override {}
126 #endif 126 #endif
127 bool IsDownloadShelfVisible() const override; 127 bool IsDownloadShelfVisible() const override;
128 DownloadShelf* GetDownloadShelf() override; 128 DownloadShelf* GetDownloadShelf() override;
129 void ConfirmBrowserCloseWithPendingDownloads( 129 void ConfirmBrowserCloseWithPendingDownloads(
130 int download_count, 130 int download_count,
131 Browser::DownloadClosePreventionType dialog_type, 131 Browser::DownloadClosePreventionType dialog_type,
132 bool app_modal, 132 bool app_modal,
133 const base::Callback<void(bool)>& callback) override {} 133 const base::Callback<void(bool)>& callback) override {}
134 void UserChangedTheme() override {} 134 void UserChangedTheme() override {}
135 void ShowWebsiteSettings(Profile* profile, 135 void ShowWebsiteSettings(
136 content::WebContents* web_contents, 136 Profile* profile,
137 const GURL& url, 137 content::WebContents* web_contents,
138 const content::SSLStatus& ssl) override {} 138 const GURL& url,
139 const SecurityStateModel::SecurityInfo& security_info) override {}
139 void CutCopyPaste(int command_id) override {} 140 void CutCopyPaste(int command_id) override {}
140 WindowOpenDisposition GetDispositionForPopupBounds( 141 WindowOpenDisposition GetDispositionForPopupBounds(
141 const gfx::Rect& bounds) override; 142 const gfx::Rect& bounds) override;
142 FindBar* CreateFindBar() override; 143 FindBar* CreateFindBar() override;
143 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 144 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
144 override; 145 override;
145 void ShowAvatarBubbleFromAvatarButton( 146 void ShowAvatarBubbleFromAvatarButton(
146 AvatarBubbleMode mode, 147 AvatarBubbleMode mode,
147 const signin::ManageAccountsParams& manage_accounts_params) override {} 148 const signin::ManageAccountsParams& manage_accounts_params) override {}
148 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 149 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 namespace chrome { 210 namespace chrome {
210 211
211 // Helper that handle the lifetime of TestBrowserWindow instances. 212 // Helper that handle the lifetime of TestBrowserWindow instances.
212 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( 213 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams(
213 Browser::CreateParams* params); 214 Browser::CreateParams* params);
214 215
215 } // namespace chrome 216 } // namespace chrome
216 217
217 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 218 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698