| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 | 330 |
| 331 // Called when the user confirmed factory reset. Chrome will | 331 // Called when the user confirmed factory reset. Chrome will |
| 332 // initiate asynchronous file operation and then log out. | 332 // initiate asynchronous file operation and then log out. |
| 333 void PerformFactoryResetRestart(const base::ListValue* args); | 333 void PerformFactoryResetRestart(const base::ListValue* args); |
| 334 | 334 |
| 335 // Update visibility of Android apps settings section. | 335 // Update visibility of Android apps settings section. |
| 336 void UpdateAndroidSettingsAppState(bool visible); | 336 void UpdateAndroidSettingsAppState(bool visible); |
| 337 | 337 |
| 338 // Called to show Android apps settings. | 338 // Called to show Android apps settings. |
| 339 void ShowAndroidAppsSettings(const base::ListValue* args); | 339 void ShowAndroidAppsSettings(const base::ListValue* args); |
| 340 |
| 341 // Called to show TalkBack settings. |
| 342 void ShowAccessibilityTalkBackSettings(const base::ListValue *args); |
| 340 #endif | 343 #endif |
| 341 | 344 |
| 342 // Setup the visibility for the metrics reporting setting. | 345 // Setup the visibility for the metrics reporting setting. |
| 343 void SetupMetricsReportingSettingVisibility(); | 346 void SetupMetricsReportingSettingVisibility(); |
| 344 | 347 |
| 345 // Update value of predictive network actions UI element. | 348 // Update value of predictive network actions UI element. |
| 346 void SetupNetworkPredictionControl(); | 349 void SetupNetworkPredictionControl(); |
| 347 | 350 |
| 348 // Setup the font size selector control. | 351 // Setup the font size selector control. |
| 349 void SetupFontSizeSelector(); | 352 void SetupFontSizeSelector(); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 434 |
| 432 // Used to get WeakPtr to self for use on the UI thread. | 435 // Used to get WeakPtr to self for use on the UI thread. |
| 433 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 436 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 434 | 437 |
| 435 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 438 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 436 }; | 439 }; |
| 437 | 440 |
| 438 } // namespace options | 441 } // namespace options |
| 439 | 442 |
| 440 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 443 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |