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

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

Issue 13979003: Win: Display a native bubble (instead of the JS one) after the web signin flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase ALL the thigns Created 7 years, 7 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 <string>
9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 12 #include "build/build_config.h"
11 #include "chrome/browser/download/test_download_shelf.h" 13 #include "chrome/browser/download/test_download_shelf.h"
12 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_window.h" 15 #include "chrome/browser/ui/browser_window.h"
14 #include "chrome/test/base/test_location_bar.h" 16 #include "chrome/test/base/test_location_bar.h"
15 17
16 namespace extensions { 18 namespace extensions {
17 class Extension; 19 class Extension;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 Profile* profile) OVERRIDE {} 97 Profile* profile) OVERRIDE {}
96 virtual void ToggleBookmarkBar() OVERRIDE {} 98 virtual void ToggleBookmarkBar() OVERRIDE {}
97 virtual void ShowUpdateChromeDialog() OVERRIDE {} 99 virtual void ShowUpdateChromeDialog() OVERRIDE {}
98 virtual void ShowBookmarkBubble(const GURL& url, 100 virtual void ShowBookmarkBubble(const GURL& url,
99 bool already_bookmarked) OVERRIDE {} 101 bool already_bookmarked) OVERRIDE {}
100 virtual void ShowChromeToMobileBubble() OVERRIDE {} 102 virtual void ShowChromeToMobileBubble() OVERRIDE {}
101 #if defined(ENABLE_ONE_CLICK_SIGNIN) 103 #if defined(ENABLE_ONE_CLICK_SIGNIN)
102 virtual void ShowOneClickSigninBubble( 104 virtual void ShowOneClickSigninBubble(
103 OneClickSigninBubbleType type, 105 OneClickSigninBubbleType type,
104 const string16& email, 106 const string16& email,
107 const string16& error_message,
105 const StartSyncCallback& start_sync_callback) OVERRIDE {} 108 const StartSyncCallback& start_sync_callback) OVERRIDE {}
106 #endif 109 #endif
107 virtual bool IsDownloadShelfVisible() const OVERRIDE; 110 virtual bool IsDownloadShelfVisible() const OVERRIDE;
108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 111 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} 112 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {}
110 virtual void UserChangedTheme() OVERRIDE {} 113 virtual void UserChangedTheme() OVERRIDE {}
111 virtual int GetExtraRenderViewHeight() const OVERRIDE; 114 virtual int GetExtraRenderViewHeight() const OVERRIDE;
112 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} 115 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {}
113 virtual void ShowWebsiteSettings(Profile* profile, 116 virtual void ShowWebsiteSettings(Profile* profile,
114 content::WebContents* web_contents, 117 content::WebContents* web_contents,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 }; 153 };
151 154
152 namespace chrome { 155 namespace chrome {
153 156
154 // Helper that handle the lifetime of TestBrowserWindow instances. 157 // Helper that handle the lifetime of TestBrowserWindow instances.
155 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 158 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
156 159
157 } // namespace chrome 160 } // namespace chrome
158 161
159 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 162 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698