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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/system_options_handler.cc

Issue 8400077: chromeos: Rename functions to be PascalCase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/options/chromeos/system_options_handler.h" 5 #include "chrome/browser/ui/webui/options/chromeos/system_options_handler.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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 args->GetString(0, &checked_str); 147 args->GetString(0, &checked_str);
148 bool accessibility_enabled = (checked_str == "true"); 148 bool accessibility_enabled = (checked_str == "true");
149 149
150 chromeos::accessibility::EnableAccessibility(accessibility_enabled, NULL); 150 chromeos::accessibility::EnableAccessibility(accessibility_enabled, NULL);
151 } 151 }
152 152
153 void SystemOptionsHandler::DecreaseScreenBrightnessCallback( 153 void SystemOptionsHandler::DecreaseScreenBrightnessCallback(
154 const ListValue* args) { 154 const ListValue* args) {
155 // Do not allow the options button to turn off the backlight, as that 155 // Do not allow the options button to turn off the backlight, as that
156 // can make it very difficult to see the increase brightness button. 156 // can make it very difficult to see the increase brightness button.
157 chromeos::DBusThreadManager::Get()->power_manager_client()-> 157 chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
158 DecreaseScreenBrightness(false); 158 DecreaseScreenBrightness(false);
159 } 159 }
160 160
161 void SystemOptionsHandler::IncreaseScreenBrightnessCallback( 161 void SystemOptionsHandler::IncreaseScreenBrightnessCallback(
162 const ListValue* args) { 162 const ListValue* args) {
163 chromeos::DBusThreadManager::Get()->power_manager_client()-> 163 chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
164 IncreaseScreenBrightness(); 164 IncreaseScreenBrightness();
165 } 165 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698