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

Side by Side Diff: chrome/browser/dom_ui/options/personal_options_handler.h

Issue 6325016: DOMUI: Revert back to v1 sync UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/personal_options_handler.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) 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_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/browser_signin.h" 9 #include "chrome/browser/browser_signin.h"
10 #include "chrome/browser/dom_ui/options/options_ui.h" 10 #include "chrome/browser/dom_ui/options/options_ui.h"
(...skipping 24 matching lines...) Expand all
35 // ProfileSyncServiceObserver implementation. 35 // ProfileSyncServiceObserver implementation.
36 virtual void OnStateChanged(); 36 virtual void OnStateChanged();
37 37
38 // BrowserSignin::SigninDelegate implementation. 38 // BrowserSignin::SigninDelegate implementation.
39 virtual void OnLoginSuccess(); 39 virtual void OnLoginSuccess();
40 virtual void OnLoginFailure(const GoogleServiceAuthError& error); 40 virtual void OnLoginFailure(const GoogleServiceAuthError& error);
41 41
42 private: 42 private:
43 void ObserveThemeChanged(); 43 void ObserveThemeChanged();
44 void ShowSyncLoginDialog(const ListValue* args); 44 void ShowSyncLoginDialog(const ListValue* args);
45 void ShowCustomizeSyncDialog(const ListValue* args);
45 void ThemesReset(const ListValue* args); 46 void ThemesReset(const ListValue* args);
46 #if defined(TOOLKIT_GTK) 47 #if defined(TOOLKIT_GTK)
47 void ThemesSetGTK(const ListValue* args); 48 void ThemesSetGTK(const ListValue* args);
48 #endif 49 #endif
49 50
50 // Called when the user updates the set of enabled data types to sync. |args| 51 // Called when the user updates the set of enabled data types to sync. |args|
51 // is ignored. 52 // is ignored.
52 void OnPreferredDataTypesUpdated(const ListValue* args); 53 void OnPreferredDataTypesUpdated(const ListValue* args);
53 54
54 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; 55 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); 57 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler);
57 }; 58 };
58 59
59 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 60 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698