| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SETTINGS_PEOPLE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 void HandleGetProfileInfo(const base::ListValue* args); | 137 void HandleGetProfileInfo(const base::ListValue* args); |
| 138 void OnDidClosePage(const base::ListValue* args); | 138 void OnDidClosePage(const base::ListValue* args); |
| 139 void HandleSetDatatypes(const base::ListValue* args); | 139 void HandleSetDatatypes(const base::ListValue* args); |
| 140 void HandleSetEncryption(const base::ListValue* args); | 140 void HandleSetEncryption(const base::ListValue* args); |
| 141 void HandleShowSetupUI(const base::ListValue* args); | 141 void HandleShowSetupUI(const base::ListValue* args); |
| 142 void HandleDoSignOutOnAuthError(const base::ListValue* args); | 142 void HandleDoSignOutOnAuthError(const base::ListValue* args); |
| 143 void HandleStartSignin(const base::ListValue* args); | 143 void HandleStartSignin(const base::ListValue* args); |
| 144 void HandleStopSyncing(const base::ListValue* args); | 144 void HandleStopSyncing(const base::ListValue* args); |
| 145 void HandleGetSyncStatus(const base::ListValue* args); | 145 void HandleGetSyncStatus(const base::ListValue* args); |
| 146 void HandleManageOtherPeople(const base::ListValue* args); | 146 void HandleManageOtherPeople(const base::ListValue* args); |
| 147 void HandleForceDisableVirtualKeyboard(const base::ListValue* args); |
| 147 | 148 |
| 148 #if !defined(OS_CHROMEOS) | 149 #if !defined(OS_CHROMEOS) |
| 149 // Displays the GAIA login form. | 150 // Displays the GAIA login form. |
| 150 void DisplayGaiaLogin(signin_metrics::AccessPoint access_point); | 151 void DisplayGaiaLogin(signin_metrics::AccessPoint access_point); |
| 151 | 152 |
| 152 // When web-flow is enabled, displays the Gaia login form in a new tab. | 153 // When web-flow is enabled, displays the Gaia login form in a new tab. |
| 153 // This function is virtual so that tests can override. | 154 // This function is virtual so that tests can override. |
| 154 virtual void DisplayGaiaLoginInNewTabOrWindow( | 155 virtual void DisplayGaiaLoginInNewTabOrWindow( |
| 155 signin_metrics::AccessPoint access_point); | 156 signin_metrics::AccessPoint access_point); |
| 156 #endif | 157 #endif |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_; | 202 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_; |
| 202 ScopedObserver<browser_sync::ProfileSyncService, PeopleHandler> | 203 ScopedObserver<browser_sync::ProfileSyncService, PeopleHandler> |
| 203 sync_service_observer_; | 204 sync_service_observer_; |
| 204 | 205 |
| 205 DISALLOW_COPY_AND_ASSIGN(PeopleHandler); | 206 DISALLOW_COPY_AND_ASSIGN(PeopleHandler); |
| 206 }; | 207 }; |
| 207 | 208 |
| 208 } // namespace settings | 209 } // namespace settings |
| 209 | 210 |
| 210 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ | 211 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ |
| OLD | NEW |