compositor_switches.h revision a1401311d1ab56c4ed0a474bd38c108f75cb0cd9
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 10namespace switches { 11 12COMPOSITOR_EXPORT extern const char kEnablePixelOutputInTests[]; 13COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[]; 14COMPOSITOR_EXPORT extern const char kUIEnableImplSidePainting[]; 15COMPOSITOR_EXPORT extern const char kUIEnableMapImage[]; 16COMPOSITOR_EXPORT extern const char kUIShowPaintRects[]; 17 18} // namespace switches 19 20namespace ui { 21 22COMPOSITOR_EXPORT bool IsUIImplSidePaintingEnabled(); 23COMPOSITOR_EXPORT bool IsUIMapImageEnabled(); 24 25} // namespace ui 26 27#endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 28