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

Side by Side Diff: chrome/browser/gtk/sync_setup_wizard_gtk.cc

Issue 338008: Resubmit http://codereview.chromium.org/314016 with views fixed (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/dom_ui/new_tab_ui.cc ('k') | chrome/browser/profile.cc » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/gtk/sync_setup_wizard_gtk.h" 5 #include "chrome/browser/gtk/sync_setup_wizard_gtk.h"
6 6
7 #include "chrome/browser/browser_list.h" 7 #include "chrome/browser/browser_list.h"
8 #include "chrome/browser/browser_window.h" 8 #include "chrome/browser/browser_window.h"
9 #include "chrome/browser/sync/profile_sync_service.h" 9 #include "chrome/browser/sync/profile_sync_service.h"
10 #include "chrome/browser/sync/sync_setup_wizard.h" 10 #include "chrome/browser/sync/sync_setup_wizard.h"
(...skipping 11 matching lines...) Expand all
22 22
23 void SyncSetupWizard::Step(State advance_state) { 23 void SyncSetupWizard::Step(State advance_state) {
24 switch (advance_state) { 24 switch (advance_state) {
25 case GAIA_LOGIN: 25 case GAIA_LOGIN:
26 SyncSetupWizardGtk::Show(service_, this); 26 SyncSetupWizardGtk::Show(service_, this);
27 break; 27 break;
28 case GAIA_SUCCESS: 28 case GAIA_SUCCESS:
29 case MERGE_AND_SYNC: 29 case MERGE_AND_SYNC:
30 case FATAL_ERROR: 30 case FATAL_ERROR:
31 case DONE: 31 case DONE:
32 case DONE_FIRST_TIME:
32 // TODO(zork): Implement 33 // TODO(zork): Implement
33 break; 34 break;
34 default: 35 default:
35 NOTREACHED(); 36 NOTREACHED();
36 } 37 }
37 } 38 }
38 39
39 bool SyncSetupWizard::IsVisible() const { 40 bool SyncSetupWizard::IsVisible() const {
40 return visible_; 41 return visible_;
41 } 42 }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 gtk_entry_get_text(GTK_ENTRY(username_textbox_)), 118 gtk_entry_get_text(GTK_ENTRY(username_textbox_)),
118 gtk_entry_get_text(GTK_ENTRY(password_textbox_))); 119 gtk_entry_get_text(GTK_ENTRY(password_textbox_)));
119 120
120 service_->SetSyncSetupCompleted(); 121 service_->SetSyncSetupCompleted();
121 } 122 }
122 service_->OnUserCancelledDialog(); 123 service_->OnUserCancelledDialog();
123 124
124 delete this; 125 delete this;
125 gtk_widget_destroy(GTK_WIDGET(widget)); 126 gtk_widget_destroy(GTK_WIDGET(widget));
126 } 127 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698