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

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

Issue 1091703002: Eliminate faux-RTTI code from BrowserView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to patch set 2 Created 5 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/views/controls/textfield/textfield.h » ('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/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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void ConfirmBrowserCloseWithPendingDownloads( 128 void ConfirmBrowserCloseWithPendingDownloads(
129 int download_count, 129 int download_count,
130 Browser::DownloadClosePreventionType dialog_type, 130 Browser::DownloadClosePreventionType dialog_type,
131 bool app_modal, 131 bool app_modal,
132 const base::Callback<void(bool)>& callback) override {} 132 const base::Callback<void(bool)>& callback) override {}
133 void UserChangedTheme() override {} 133 void UserChangedTheme() override {}
134 void ShowWebsiteSettings(Profile* profile, 134 void ShowWebsiteSettings(Profile* profile,
135 content::WebContents* web_contents, 135 content::WebContents* web_contents,
136 const GURL& url, 136 const GURL& url,
137 const content::SSLStatus& ssl) override {} 137 const content::SSLStatus& ssl) override {}
138 void Cut() override {} 138 void CutCopyPaste(int command_id) override {}
139 void Copy() override {}
140 void Paste() override {}
141 WindowOpenDisposition GetDispositionForPopupBounds( 139 WindowOpenDisposition GetDispositionForPopupBounds(
142 const gfx::Rect& bounds) override; 140 const gfx::Rect& bounds) override;
143 FindBar* CreateFindBar() override; 141 FindBar* CreateFindBar() override;
144 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 142 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
145 override; 143 override;
146 void ShowAvatarBubbleFromAvatarButton( 144 void ShowAvatarBubbleFromAvatarButton(
147 AvatarBubbleMode mode, 145 AvatarBubbleMode mode,
148 const signin::ManageAccountsParams& manage_accounts_params) override {} 146 const signin::ManageAccountsParams& manage_accounts_params) override {}
149 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 147 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
150 void ExecuteExtensionCommand(const extensions::Extension* extension, 148 void ExecuteExtensionCommand(const extensions::Extension* extension,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 }; 192 };
195 193
196 namespace chrome { 194 namespace chrome {
197 195
198 // Helper that handle the lifetime of TestBrowserWindow instances. 196 // Helper that handle the lifetime of TestBrowserWindow instances.
199 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
200 198
201 } // namespace chrome 199 } // namespace chrome
202 200
203 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698