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

Side by Side Diff: chrome/browser/ui/webui/options2/browser_options_handler2.h

Issue 10222017: Make password generation switched by a preference in chrome settings rather than a command line fla… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change DCHECK_EQ to DCHECK to get around some type convertion issue. Created 8 years, 7 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
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_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // Callback for the "Continue running background apps..." checkbox. 244 // Callback for the "Continue running background apps..." checkbox.
245 void HandleBackgroundModeCheckbox(const ListValue* args); 245 void HandleBackgroundModeCheckbox(const ListValue* args);
246 #endif 246 #endif
247 247
248 // Setup the checked state for the metrics reporting checkbox. 248 // Setup the checked state for the metrics reporting checkbox.
249 void SetupMetricsReportingCheckbox(); 249 void SetupMetricsReportingCheckbox();
250 250
251 // Setup the visibility for the metrics reporting setting. 251 // Setup the visibility for the metrics reporting setting.
252 void SetupMetricsReportingSettingVisibility(); 252 void SetupMetricsReportingSettingVisibility();
253 253
254 // Setup the visibility for the password generation setting.
255 void SetupPasswordGenerationSettingVisibility();
256
254 // Setup the font size selector control. 257 // Setup the font size selector control.
255 void SetupFontSizeSelector(); 258 void SetupFontSizeSelector();
256 259
257 // Setup the page zoom selector control. 260 // Setup the page zoom selector control.
258 void SetupPageZoomSelector(); 261 void SetupPageZoomSelector();
259 262
260 // Setup the visibility of the reset button. 263 // Setup the visibility of the reset button.
261 void SetupAutoOpenFileTypes(); 264 void SetupAutoOpenFileTypes();
262 265
263 // Setup the proxy settings section UI. 266 // Setup the proxy settings section UI.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 #if !defined(OS_CHROMEOS) 317 #if !defined(OS_CHROMEOS)
315 scoped_ptr<PrefSetObserver> proxy_prefs_; 318 scoped_ptr<PrefSetObserver> proxy_prefs_;
316 #endif // !defined(OS_CHROMEOS) 319 #endif // !defined(OS_CHROMEOS)
317 320
318 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 321 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
319 }; 322 };
320 323
321 } // namespace options2 324 } // namespace options2
322 325
323 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ 326 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/browser_options.js ('k') | chrome/browser/ui/webui/options2/browser_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698