Add ENABLE_MEDIA_ROUTER define to builds other than Android and iOS.
[chromium-blink-merge.git] / ui / compositor / compositor_switches.h
blobef2f4510f72c241138904cb0f1d2eb03b4c0523e
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
3 // found in the LICENSE file.
5 #ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
6 #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
8 #include "ui/compositor/compositor_export.h"
10 namespace switches {
12 COMPOSITOR_EXPORT extern const char kEnableHardwareOverlays[];
13 COMPOSITOR_EXPORT extern const char kEnablePixelOutputInTests[];
14 COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[];
15 COMPOSITOR_EXPORT extern const char kUIEnableCompositorAnimationTimelines[];
16 COMPOSITOR_EXPORT extern const char kUIEnableImplSidePainting[];
17 COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[];
18 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
20 } // namespace switches
22 namespace ui {
24 COMPOSITOR_EXPORT bool IsUIImplSidePaintingEnabled();
25 bool IsUIZeroCopyEnabled();
26 bool IsUIOneCopyEnabled();
28 } // namespace ui
30 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_