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

Side by Side Diff: ash/shell.cc

Issue 9704029: Reland r126700: ash uber tray: Add the detailed network popup (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
263 virtual void ShowHelp() OVERRIDE { 266 virtual void ShowHelp() OVERRIDE {
264 } 267 }
265 268
266 virtual bool IsAudioMuted() const OVERRIDE { 269 virtual bool IsAudioMuted() const OVERRIDE {
267 return muted_; 270 return muted_;
268 } 271 }
269 272
270 virtual void SetAudioMuted(bool muted) OVERRIDE { 273 virtual void SetAudioMuted(bool muted) OVERRIDE {
271 muted_ = muted; 274 muted_ = muted;
272 } 275 }
273 276
274 virtual float GetVolumeLevel() const OVERRIDE { 277 virtual float GetVolumeLevel() const OVERRIDE {
275 return volume_; 278 return volume_;
276 } 279 }
277 280
278 virtual void SetVolumeLevel(float volume) OVERRIDE { 281 virtual void SetVolumeLevel(float volume) OVERRIDE {
279 volume_ = volume; 282 volume_ = volume;
280 } 283 }
281 284
282 virtual void ShutDown() OVERRIDE {} 285 virtual void ShutDown() OVERRIDE {}
283 virtual void SignOut() OVERRIDE {} 286 virtual void SignOut() OVERRIDE {}
284 virtual void RequestLockScreen() OVERRIDE {} 287 virtual void RequestLockScreen() OVERRIDE {}
285 virtual NetworkIconInfo GetMostRelevantNetworkIcon() { 288 virtual NetworkIconInfo GetMostRelevantNetworkIcon(bool large) OVERRIDE {
286 return NetworkIconInfo(); 289 return NetworkIconInfo();
287 } 290 }
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 }
288 303
289 bool muted_; 304 bool muted_;
290 float volume_; 305 float volume_;
291 SkBitmap null_image_; 306 SkBitmap null_image_;
292 307
293 DISALLOW_COPY_AND_ASSIGN(DummySystemTrayDelegate); 308 DISALLOW_COPY_AND_ASSIGN(DummySystemTrayDelegate);
294 }; 309 };
295 310
296 } // namespace 311 } // namespace
297 312
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 // Create the desktop background image. 687 // Create the desktop background image.
673 SetDesktopBackgroundMode(BACKGROUND_IMAGE); 688 SetDesktopBackgroundMode(BACKGROUND_IMAGE);
674 } 689 }
675 690
676 void Shell::DisableWorkspaceGridLayout() { 691 void Shell::DisableWorkspaceGridLayout() {
677 if (workspace_controller_.get()) 692 if (workspace_controller_.get())
678 workspace_controller_->workspace_manager()->set_grid_size(0); 693 workspace_controller_->workspace_manager()->set_grid_size(0);
679 } 694 }
680 695
681 } // namespace ash 696 } // 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