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

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

Issue 1487283005: Implement the new Sync Confirmation dialog on Linux and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add some tests. Created 5 years 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 WindowOpenDisposition GetDispositionForPopupBounds( 143 WindowOpenDisposition GetDispositionForPopupBounds(
144 const gfx::Rect& bounds) override; 144 const gfx::Rect& bounds) override;
145 FindBar* CreateFindBar() override; 145 FindBar* CreateFindBar() override;
146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
147 override; 147 override;
148 void ShowAvatarBubbleFromAvatarButton( 148 void ShowAvatarBubbleFromAvatarButton(
149 AvatarBubbleMode mode, 149 AvatarBubbleMode mode,
150 const signin::ManageAccountsParams& manage_accounts_params) override {} 150 const signin::ManageAccountsParams& manage_accounts_params) override {}
151 void ShowModalSigninWindow(AvatarBubbleMode mode) override {} 151 void ShowModalSigninWindow(AvatarBubbleMode mode) override {}
152 void CloseModalSigninWindow() override {} 152 void CloseModalSigninWindow() override {}
153 void ShowModalSyncConfirmationWindow() override {}
153 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 154 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
154 void ExecuteExtensionCommand(const extensions::Extension* extension, 155 void ExecuteExtensionCommand(const extensions::Extension* extension,
155 const extensions::Command& command) override; 156 const extensions::Command& command) override;
156 ExclusiveAccessContext* GetExclusiveAccessContext() override; 157 ExclusiveAccessContext* GetExclusiveAccessContext() override;
157 158
158 protected: 159 protected:
159 void DestroyBrowser() override {} 160 void DestroyBrowser() override {}
160 161
161 private: 162 private:
162 class TestLocationBar : public LocationBar { 163 class TestLocationBar : public LocationBar {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 215
215 namespace chrome { 216 namespace chrome {
216 217
217 // Helper that handle the lifetime of TestBrowserWindow instances. 218 // Helper that handle the lifetime of TestBrowserWindow instances.
218 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( 219 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams(
219 Browser::CreateParams* params); 220 Browser::CreateParams* params);
220 221
221 } // namespace chrome 222 } // namespace chrome
222 223
223 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 224 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698