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

Side by Side Diff: chrome/browser/ui/webui/sync_promo_handler.h

Issue 8571022: [Sync Setup UI] Separate stepping the SyncSetupWizard from syncSetup page navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEBUI_SYNC_PROMO_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/sync_setup_handler.h" 9 #include "chrome/browser/ui/webui/sync_setup_handler.h"
10 10
(...skipping 17 matching lines...) Expand all
28 virtual void ShowGaiaSuccessAndClose() OVERRIDE; 28 virtual void ShowGaiaSuccessAndClose() OVERRIDE;
29 virtual void ShowGaiaSuccessAndSettingUp() OVERRIDE; 29 virtual void ShowGaiaSuccessAndSettingUp() OVERRIDE;
30 virtual void ShowConfigure(const base::DictionaryValue& args) OVERRIDE; 30 virtual void ShowConfigure(const base::DictionaryValue& args) OVERRIDE;
31 31
32 // content::NotificationObserver implementation. 32 // content::NotificationObserver implementation.
33 virtual void Observe(int type, 33 virtual void Observe(int type,
34 const content::NotificationSource& source, 34 const content::NotificationSource& source,
35 const content::NotificationDetails& details) OVERRIDE; 35 const content::NotificationDetails& details) OVERRIDE;
36 36
37 protected: 37 protected:
38 virtual void StepWizardForShowSetupUI() OVERRIDE;
39
38 virtual void ShowSetupUI() OVERRIDE; 40 virtual void ShowSetupUI() OVERRIDE;
39 41
40 private: 42 private:
41 // JavaScript callback handler to close the sync promo. 43 // JavaScript callback handler to close the sync promo.
42 void HandleCloseSyncPromo(const base::ListValue* args); 44 void HandleCloseSyncPromo(const base::ListValue* args);
43 45
44 // JavaScript callback handler to initialize the sync promo. 46 // JavaScript callback handler to initialize the sync promo.
45 void HandleInitializeSyncPromo(const base::ListValue* args); 47 void HandleInitializeSyncPromo(const base::ListValue* args);
46 48
47 // JavaScript handler to record the duration for which the throbber was 49 // JavaScript handler to record the duration for which the throbber was
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 88
87 // If the user closes the whole window we'll get a close notification from the 89 // If the user closes the whole window we'll get a close notification from the
88 // tab as well, so this bool acts as a small mutex to only report the close 90 // tab as well, so this bool acts as a small mutex to only report the close
89 // method once. 91 // method once.
90 bool window_already_closed_; 92 bool window_already_closed_;
91 93
92 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler); 94 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler);
93 }; 95 };
94 96
95 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_ 97 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/options_sync_setup_handler.cc ('k') | chrome/browser/ui/webui/sync_promo_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698