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

Side by Side Diff: chrome/browser/views/sync/sync_setup_flow.h

Issue 270081: Facelifts to sync UI (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifdef CHROME_PERSONALIZATION 5 #ifdef CHROME_PERSONALIZATION
6 6
7 #ifndef CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_ 7 #ifndef CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_
8 #define CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_ 8 #define CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 // Callbacks from the page. 164 // Callbacks from the page.
165 void HandleSubmitAuth(const Value* value); 165 void HandleSubmitAuth(const Value* value);
166 void HandleSubmitMergeAndSync(const Value* value); 166 void HandleSubmitMergeAndSync(const Value* value);
167 167
168 // These functions control which part of the HTML is visible. 168 // These functions control which part of the HTML is visible.
169 void ShowGaiaLogin(const DictionaryValue& args); 169 void ShowGaiaLogin(const DictionaryValue& args);
170 void ShowGaiaSuccessAndClose(); 170 void ShowGaiaSuccessAndClose();
171 void ShowGaiaSuccessAndSettingUp(); 171 void ShowGaiaSuccessAndSettingUp();
172 void ShowMergeAndSync(); 172 void ShowMergeAndSync();
173 void ShowMergeAndSyncDone();
174 void ShowMergeAndSyncError(); 173 void ShowMergeAndSyncError();
174 void ShowSetupDone(const std::wstring& user);
175 void ShowFirstTimeDone(const std::wstring& user);
175 176
176 void set_flow(SyncSetupFlow* flow) { 177 void set_flow(SyncSetupFlow* flow) {
177 flow_ = flow; 178 flow_ = flow;
178 } 179 }
179 180
180 private: 181 private:
181 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath, 182 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath,
182 const std::wstring& js); 183 const std::wstring& js);
183 SyncSetupFlow* flow_; 184 SyncSetupFlow* flow_;
184 DISALLOW_COPY_AND_ASSIGN(FlowHandler); 185 DISALLOW_COPY_AND_ASSIGN(FlowHandler);
185 }; 186 };
186 187
187 #endif // CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_ 188 #endif // CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_
188 #endif // CHROME_PERSONALIZATION 189 #endif // CHROME_PERSONALIZATION
OLDNEW
« no previous file with comments | « chrome/browser/views/options/content_page_view.cc ('k') | chrome/browser/views/sync/sync_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698