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

Side by Side Diff: ash/shell.cc

Issue 9702035: Revert 126700 because it broke clang on chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/network/tray_network.h » ('j') | 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) 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 "ash/shell.h" 5 #include "ash/shell.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/app_list/app_list.h" 9 #include "ash/app_list/app_list.h"
10 #include "ash/ash_switches.h" 10 #include "ash/ash_switches.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 virtual base::HourClockType GetHourClockType() const OVERRIDE { 253 virtual base::HourClockType GetHourClockType() const OVERRIDE {
254 return base::k24HourClock; 254 return base::k24HourClock;
255 } 255 }
256 256
257 virtual void ShowSettings() OVERRIDE { 257 virtual void ShowSettings() OVERRIDE {
258 } 258 }
259 259
260 virtual void ShowDateSettings() OVERRIDE { 260 virtual void ShowDateSettings() OVERRIDE {
261 } 261 }
262 262
263 virtual void ShowNetworkSettings() OVERRIDE {
264 }
265
266 virtual void ShowHelp() OVERRIDE { 263 virtual void ShowHelp() OVERRIDE {
267 } 264 }
268 265
269 virtual bool IsAudioMuted() const OVERRIDE { 266 virtual bool IsAudioMuted() const OVERRIDE {
270 return muted_; 267 return muted_;
271 } 268 }
272 269
273 virtual void SetAudioMuted(bool muted) OVERRIDE { 270 virtual void SetAudioMuted(bool muted) OVERRIDE {
274 muted_ = muted; 271 muted_ = muted;
275 } 272 }
276 273
277 virtual float GetVolumeLevel() const OVERRIDE { 274 virtual float GetVolumeLevel() const OVERRIDE {
278 return volume_; 275 return volume_;
279 } 276 }
280 277
281 virtual void SetVolumeLevel(float volume) OVERRIDE { 278 virtual void SetVolumeLevel(float volume) OVERRIDE {
282 volume_ = volume; 279 volume_ = volume;
283 } 280 }
284 281
285 virtual void ShutDown() OVERRIDE {} 282 virtual void ShutDown() OVERRIDE {}
286 virtual void SignOut() OVERRIDE {} 283 virtual void SignOut() OVERRIDE {}
287 virtual void RequestLockScreen() OVERRIDE {} 284 virtual void RequestLockScreen() OVERRIDE {}
288 virtual NetworkIconInfo GetMostRelevantNetworkIcon(bool large) OVERRIDE { 285 virtual NetworkIconInfo GetMostRelevantNetworkIcon() {
289 return NetworkIconInfo(); 286 return NetworkIconInfo();
290 } 287 }
291 virtual void GetAvailableNetworks(
292 std::vector<NetworkIconInfo>* list) OVERRIDE {
293 }
294
295 virtual void ConnectToNetwork(const std::string& network_id) OVERRIDE {
296 }
297
298 virtual void ToggleAirplaneMode() OVERRIDE {
299 }
300
301 virtual void ChangeProxySettings() OVERRIDE {
302 }
303 288
304 bool muted_; 289 bool muted_;
305 float volume_; 290 float volume_;
306 SkBitmap null_image_; 291 SkBitmap null_image_;
307 292
308 DISALLOW_COPY_AND_ASSIGN(DummySystemTrayDelegate); 293 DISALLOW_COPY_AND_ASSIGN(DummySystemTrayDelegate);
309 }; 294 };
310 295
311 } // namespace 296 } // namespace
312 297
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 // Create the desktop background image. 672 // Create the desktop background image.
688 SetDesktopBackgroundMode(BACKGROUND_IMAGE); 673 SetDesktopBackgroundMode(BACKGROUND_IMAGE);
689 } 674 }
690 675
691 void Shell::DisableWorkspaceGridLayout() { 676 void Shell::DisableWorkspaceGridLayout() {
692 if (workspace_controller_.get()) 677 if (workspace_controller_.get())
693 workspace_controller_->workspace_manager()->set_grid_size(0); 678 workspace_controller_->workspace_manager()->set_grid_size(0);
694 } 679 }
695 680
696 } // namespace ash 681 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/network/tray_network.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698