Don't send touch move events within the slop region in Aura.
[chromium-blink-merge.git] / ui / compositor / test / context_factories_for_test.h
bloba2b314f067b68d37c2de94d849a02f3fd5a0da66
1 // Copyright 2013 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 namespace ui {
7 // Set up the compositor ContextFactory for a test environment. Unit tests
8 // that do not have a full content environment need to call this before
9 // initializing the Compositor.
10 // Some tests expect pixel output, and they should pass false for
11 // |allow_test_contexts|. Most unit tests should pass true. Once this has been
12 // called, the caller must call TerminateContextFactoryForTests() to clean up.
13 void InitializeContextFactoryForTests(bool allow_test_contexts);
14 void TerminateContextFactoryForTests();
16 } // namespace ui