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

Side by Side Diff: ui/base/ui_base_switches.cc

Issue 474723002: Enable remote CoreAnimation API by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_flag
Patch Set: Created 6 years, 4 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 "ui/base/ui_base_switches.h" 5 #include "ui/base/ui_base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 #if defined(OS_MACOSX) && !defined(OS_IOS) 9 #if defined(OS_MACOSX) && !defined(OS_IOS)
10 // Enable use of cross-process CALayers to display content directly from the 10 // Enable use of cross-process CALayers to display content directly from the
11 // GPU process on Mac. 11 // GPU process on Mac.
12 const char kEnableRemoteCoreAnimation[] = "enable-remote-core-animation"; 12 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation";
13 13
14 // Disable use of CoreAnimation to draw on the Mac. 14 // Disable use of CoreAnimation to draw on the Mac.
15 const char kDisableCoreAnimation[] = "disable-core-animation"; 15 const char kDisableCoreAnimation[] = "disable-core-animation";
16 #endif 16 #endif
17 17
18 // Disables use of DWM composition for top level windows. 18 // Disables use of DWM composition for top level windows.
19 const char kDisableDwmComposition[] = "disable-dwm-composition"; 19 const char kDisableDwmComposition[] = "disable-dwm-composition";
20 20
21 // Disables an experimental focus manager to track text input clients. 21 // Disables an experimental focus manager to track text input clients.
22 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager"; 22 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager";
(...skipping 18 matching lines...) Expand all
41 41
42 // The language file that we want to try to open. Of the form 42 // The language file that we want to try to open. Of the form
43 // language[-country] where language is the 2 letter code from ISO-639. 43 // language[-country] where language is the 2 letter code from ISO-639.
44 const char kLang[] = "lang"; 44 const char kLang[] = "lang";
45 45
46 // Disable ui::MessageBox. This is useful when running as part of scripts that 46 // Disable ui::MessageBox. This is useful when running as part of scripts that
47 // do not have a user interface. 47 // do not have a user interface.
48 const char kNoMessageBox[] = "no-message-box"; 48 const char kNoMessageBox[] = "no-message-box";
49 49
50 } // namespace switches 50 } // namespace switches
OLDNEW
« ui/base/cocoa/remote_layer_api.mm ('K') | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698