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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 421653006: Update "Predict network actions" UI setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. Created 6 years, 4 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
OLDNEW
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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 void VirtualKeyboardChangeCallback(const base::ListValue* args); 291 void VirtualKeyboardChangeCallback(const base::ListValue* args);
292 292
293 // Called when the user confirmed factory reset. Chrome will 293 // Called when the user confirmed factory reset. Chrome will
294 // initiate asynchronous file operation and then log out. 294 // initiate asynchronous file operation and then log out.
295 void PerformFactoryResetRestart(const base::ListValue* args); 295 void PerformFactoryResetRestart(const base::ListValue* args);
296 #endif 296 #endif
297 297
298 // Setup the visibility for the metrics reporting setting. 298 // Setup the visibility for the metrics reporting setting.
299 void SetupMetricsReportingSettingVisibility(); 299 void SetupMetricsReportingSettingVisibility();
300 300
301 // Update value of predictive network actions UI element.
302 void SetupNetworkPredictionControl();
303
301 // Setup the font size selector control. 304 // Setup the font size selector control.
302 void SetupFontSizeSelector(); 305 void SetupFontSizeSelector();
303 306
304 // Setup the page zoom selector control. 307 // Setup the page zoom selector control.
305 void SetupPageZoomSelector(); 308 void SetupPageZoomSelector();
306 309
307 // Setup the visibility of the reset button. 310 // Setup the visibility of the reset button.
308 void SetupAutoOpenFileTypes(); 311 void SetupAutoOpenFileTypes();
309 312
310 // Setup the proxy settings section UI. 313 // Setup the proxy settings section UI.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 360
358 // Used to get WeakPtr to self for use on the UI thread. 361 // Used to get WeakPtr to self for use on the UI thread.
359 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; 362 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_;
360 363
361 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 364 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
362 }; 365 };
363 366
364 } // namespace options 367 } // namespace options
365 368
366 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 369 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698