Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / compositor / compositor_switches.h
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.
4
5 #ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
6 #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
7
8 #include "ui/compositor/compositor_export.h"
9
10 namespace switches {
11
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 kUIEnableImplSidePainting[];
16 COMPOSITOR_EXPORT extern const char kUIEnableZeroCopy[];
17 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
18
19 }  // namespace switches
20
21 namespace ui {
22
23 COMPOSITOR_EXPORT bool IsUIImplSidePaintingEnabled();
24 COMPOSITOR_EXPORT bool IsUIZeroCopyEnabled();
25
26 }  // namespace ui
27
28 #endif  // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_