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

Side by Side Diff: chrome/browser/chromeos/login/chrome_restart_request.cc

Issue 2506493002: Add a switch for tablet power button behavior (Closed)
Patch Set: based on comments Created 4 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
« no previous file with comments | « ash/wm/power_button_controller.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/chromeos/login/chrome_restart_request.h" 5 #include "chrome/browser/chromeos/login/chrome_restart_request.h"
6 6
7 #include <sys/socket.h> 7 #include <sys/socket.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/common/ash_switches.h" 10 #include "ash/common/ash_switches.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 #if defined(ENABLE_WEBRTC) 169 #if defined(ENABLE_WEBRTC)
170 ::switches::kDisableWebRtcHWDecoding, 170 ::switches::kDisableWebRtcHWDecoding,
171 ::switches::kDisableWebRtcHWEncoding, 171 ::switches::kDisableWebRtcHWEncoding,
172 #endif 172 #endif
173 ::switches::kDisableVaapiAcceleratedVideoEncode, 173 ::switches::kDisableVaapiAcceleratedVideoEncode,
174 #if defined(USE_OZONE) 174 #if defined(USE_OZONE)
175 ::switches::kOzonePlatform, 175 ::switches::kOzonePlatform,
176 #endif 176 #endif
177 app_list::switches::kDisableSyncAppList, 177 app_list::switches::kDisableSyncAppList,
178 app_list::switches::kEnableSyncAppList, 178 app_list::switches::kEnableSyncAppList,
179 ash::switches::kAshEnableTabletPowerButton,
179 ash::switches::kAshEnableTouchView, 180 ash::switches::kAshEnableTouchView,
180 ash::switches::kAshEnablePalette, 181 ash::switches::kAshEnablePalette,
181 ash::switches::kAshEnablePaletteOnAllDisplays, 182 ash::switches::kAshEnablePaletteOnAllDisplays,
182 ash::switches::kAshTouchHud, 183 ash::switches::kAshTouchHud,
183 ash::switches::kAuraLegacyPowerButton, 184 ash::switches::kAuraLegacyPowerButton,
184 chromeos::switches::kDefaultWallpaperLarge, 185 chromeos::switches::kDefaultWallpaperLarge,
185 chromeos::switches::kDefaultWallpaperSmall, 186 chromeos::switches::kDefaultWallpaperSmall,
186 chromeos::switches::kGuestWallpaperLarge, 187 chromeos::switches::kGuestWallpaperLarge,
187 chromeos::switches::kGuestWallpaperSmall, 188 chromeos::switches::kGuestWallpaperSmall,
188 // Please keep these in alphabetical order. Non-UI Compositor switches 189 // Please keep these in alphabetical order. Non-UI Compositor switches
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 // Relaunch chrome without session manager on dev box. 388 // Relaunch chrome without session manager on dev box.
388 ReLaunch(command_line); 389 ReLaunch(command_line);
389 return; 390 return;
390 } 391 }
391 392
392 // ChromeRestartRequest deletes itself after request sent to session manager. 393 // ChromeRestartRequest deletes itself after request sent to session manager.
393 (new ChromeRestartRequest(command_line.argv()))->Start(); 394 (new ChromeRestartRequest(command_line.argv()))->Start();
394 } 395 }
395 396
396 } // namespace chromeos 397 } // namespace chromeos
OLDNEW
« no previous file with comments | « ash/wm/power_button_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698