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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/system_options_handler2.cc

Issue 9224002: Make WebUI objects not derive from WebUI. WebUI objects own the controller. This is the ownership... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to head to clear linux_chromeos browsertest failures Created 8 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
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 #include "chrome/browser/ui/webui/options2/chromeos/system_options_handler2.h" 5 #include "chrome/browser/ui/webui/options2/chromeos/system_options_handler2.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/chromeos/language_preferences.h" 22 #include "chrome/browser/chromeos/language_preferences.h"
23 #include "chrome/browser/chromeos/system/input_device_settings.h" 23 #include "chrome/browser/chromeos/system/input_device_settings.h"
24 #include "chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h" 24 #include "chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h"
25 #include "chrome/browser/extensions/extension_service.h" 25 #include "chrome/browser/extensions/extension_service.h"
26 #include "chrome/browser/prefs/pref_service.h" 26 #include "chrome/browser/prefs/pref_service.h"
27 #include "chrome/browser/profiles/profile.h" 27 #include "chrome/browser/profiles/profile.h"
28 #include "chrome/browser/ui/webui/options2/chromeos/system_settings_provider2.h" 28 #include "chrome/browser/ui/webui/options2/chromeos/system_settings_provider2.h"
29 #include "chrome/common/chrome_switches.h" 29 #include "chrome/common/chrome_switches.h"
30 #include "chrome/common/extensions/extension.h" 30 #include "chrome/common/extensions/extension.h"
31 #include "chrome/common/pref_names.h" 31 #include "chrome/common/pref_names.h"
32 #include "content/browser/webui/web_ui.h"
32 #include "grit/browser_resources.h" 33 #include "grit/browser_resources.h"
33 #include "grit/chromium_strings.h" 34 #include "grit/chromium_strings.h"
34 #include "grit/generated_resources.h" 35 #include "grit/generated_resources.h"
35 #include "grit/locale_settings.h" 36 #include "grit/locale_settings.h"
36 #include "grit/theme_resources.h" 37 #include "grit/theme_resources.h"
37 #include "ui/base/l10n/l10n_util.h" 38 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/resource/resource_bundle.h" 39 #include "ui/base/resource/resource_bundle.h"
39 40
40 using content::BrowserThread; 41 using content::BrowserThread;
41 42
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 DecreaseScreenBrightness(false); 264 DecreaseScreenBrightness(false);
264 } 265 }
265 266
266 void SystemOptionsHandler::IncreaseScreenBrightnessCallback( 267 void SystemOptionsHandler::IncreaseScreenBrightnessCallback(
267 const ListValue* args) { 268 const ListValue* args) {
268 chromeos::DBusThreadManager::Get()->GetPowerManagerClient()-> 269 chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
269 IncreaseScreenBrightness(); 270 IncreaseScreenBrightness();
270 } 271 }
271 272
272 } // namespace options2 273 } // namespace options2
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698