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

Side by Side Diff: chrome/browser/ui/sync/one_click_signin_helper.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: Created 7 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
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_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_
6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_ 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 static void ShowInfoBarUIThread(const std::string& session_index, 174 static void ShowInfoBarUIThread(const std::string& session_index,
175 const std::string& email, 175 const std::string& email,
176 AutoAccept auto_accept, 176 AutoAccept auto_accept,
177 SyncPromoUI::Source source, 177 SyncPromoUI::Source source,
178 const GURL& continue_url, 178 const GURL& continue_url,
179 int child_id, 179 int child_id,
180 int route_id); 180 int route_id);
181 181
182 void RedirectToNtpOrAppsPage(bool show_bubble); 182 void RedirectToNtpOrAppsPage(bool show_bubble);
183 void RedirectToSignin(); 183 void RedirectToSignin();
184 void RedirectOnSigninComplete(bool show_bubble); 184 void ShowSyncConfirmationBubble(bool show_bubble);
185 185
186 // Clear all data member of the helper, except for the error. 186 // Clear all data member of the helper, except for the error.
187 void CleanTransientState(); 187 void CleanTransientState();
188 188
189 // Grab Gaia password if available. 189 // Grab Gaia password if available.
190 bool OnFormSubmitted(const content::PasswordForm& form); 190 bool OnFormSubmitted(const content::PasswordForm& form);
191 191
192 // content::WebContentsObserver overrides. 192 // content::WebContentsObserver overrides.
193 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 193 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
194 virtual void NavigateToPendingEntry( 194 virtual void NavigateToPendingEntry(
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 // Whether a Gaia URL during the sign in process was not handled by the 235 // Whether a Gaia URL during the sign in process was not handled by the
236 // dedicated sign in process. This is set to false if at least one such 236 // dedicated sign in process. This is set to false if at least one such
237 // URL is detected. 237 // URL is detected.
238 bool is_trusted_; 238 bool is_trusted_;
239 239
240 DISALLOW_COPY_AND_ASSIGN(OneClickSigninHelper); 240 DISALLOW_COPY_AND_ASSIGN(OneClickSigninHelper);
241 }; 241 };
242 242
243 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_ 243 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698