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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1731373002: Allow to have a transparent UA dependent background. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 bool NewTaskManagerEnabled() { 1351 bool NewTaskManagerEnabled() {
1352 #if defined(OS_MACOSX) 1352 #if defined(OS_MACOSX)
1353 return false; // The new task manager hasn't been adopted on Mac yet. 1353 return false; // The new task manager hasn't been adopted on Mac yet.
1354 #else 1354 #else
1355 return !base::CommandLine::ForCurrentProcess()->HasSwitch( 1355 return !base::CommandLine::ForCurrentProcess()->HasSwitch(
1356 kDisableNewTaskManager); 1356 kDisableNewTaskManager);
1357 #endif // defined(OS_MACOSX) 1357 #endif // defined(OS_MACOSX)
1358 } 1358 }
1359 #endif // defined(ENABLE_TASK_MANAGER) 1359 #endif // defined(ENABLE_TASK_MANAGER)
1360 1360
1361 // Do not set a UA dependent background.
1362 const char kNoUADependentBackground[] = "no-ua-dependent-background";
1363
1361 // ----------------------------------------------------------------------------- 1364 // -----------------------------------------------------------------------------
1362 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1363 // 1366 //
1364 // You were going to just dump your switches here, weren't you? Instead, please 1367 // You were going to just dump your switches here, weren't you? Instead, please
1365 // put them in alphabetical order above, or in order inside the appropriate 1368 // put them in alphabetical order above, or in order inside the appropriate
1366 // ifdef at the bottom. The order should match the header. 1369 // ifdef at the bottom. The order should match the header.
1367 // ----------------------------------------------------------------------------- 1370 // -----------------------------------------------------------------------------
1368 1371
1369 } // namespace switches 1372 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698