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

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

Issue 11896021: Change the one-click sign in confirmation bubble into a modal dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc ('k') | no next file » | 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 Profile* profile) OVERRIDE {} 94 Profile* profile) OVERRIDE {}
95 virtual void ToggleBookmarkBar() OVERRIDE {} 95 virtual void ToggleBookmarkBar() OVERRIDE {}
96 virtual void ShowUpdateChromeDialog() OVERRIDE {} 96 virtual void ShowUpdateChromeDialog() OVERRIDE {}
97 virtual void ShowTaskManager() OVERRIDE {} 97 virtual void ShowTaskManager() OVERRIDE {}
98 virtual void ShowBackgroundPages() OVERRIDE {} 98 virtual void ShowBackgroundPages() OVERRIDE {}
99 virtual void ShowBookmarkBubble(const GURL& url, 99 virtual void ShowBookmarkBubble(const GURL& url,
100 bool already_bookmarked) OVERRIDE {} 100 bool already_bookmarked) OVERRIDE {}
101 virtual void ShowChromeToMobileBubble() OVERRIDE {} 101 virtual void ShowChromeToMobileBubble() OVERRIDE {}
102 #if defined(ENABLE_ONE_CLICK_SIGNIN) 102 #if defined(ENABLE_ONE_CLICK_SIGNIN)
103 virtual void ShowOneClickSigninBubble( 103 virtual void ShowOneClickSigninBubble(
104 OneClickSigninBubbleType type,
104 const StartSyncCallback& start_sync_callback) OVERRIDE {} 105 const StartSyncCallback& start_sync_callback) OVERRIDE {}
105 #endif 106 #endif
106 virtual bool IsDownloadShelfVisible() const OVERRIDE; 107 virtual bool IsDownloadShelfVisible() const OVERRIDE;
107 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
108 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} 109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {}
109 virtual void UserChangedTheme() OVERRIDE {} 110 virtual void UserChangedTheme() OVERRIDE {}
110 virtual int GetExtraRenderViewHeight() const OVERRIDE; 111 virtual int GetExtraRenderViewHeight() const OVERRIDE;
111 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} 112 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {}
112 virtual void ShowWebsiteSettings(Profile* profile, 113 virtual void ShowWebsiteSettings(Profile* profile,
113 content::WebContents* web_contents, 114 content::WebContents* web_contents,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 152
152 namespace chrome { 153 namespace chrome {
153 154
154 // Helpers that handle the lifetime of TestBrowserWindow instances. 155 // Helpers that handle the lifetime of TestBrowserWindow instances.
155 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); 156 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile);
156 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 157 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
157 158
158 } // namespace chrome 159 } // namespace chrome
159 160
160 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 161 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698