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

Side by Side Diff: components/exo/test/exo_test_helper.h

Issue 1412093006: components: Add Exosphere component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some ifdefs Created 5 years, 1 month 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
« no previous file with comments | « components/exo/test/exo_test_base.cc ('k') | components/exo/test/exo_test_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 COMPONENTS_EXO_TEST_EXO_TEST_HELPER_H_
6 #define COMPONENTS_EXO_TEST_EXO_TEST_HELPER_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "ui/gfx/geometry/size.h"
12
13 namespace gfx {
14 class GpuMemoryBuffer;
15 }
16
17 namespace exo {
18 namespace test {
19
20 // A helper class that does common initialization required for Exosphere.
21 class ExoTestHelper {
22 public:
23 ExoTestHelper();
24 ~ExoTestHelper();
25
26 // Creates a GpuMemoryBuffer instance that can be used for tests.
27 scoped_ptr<gfx::GpuMemoryBuffer> CreateGpuMemoryBuffer(const gfx::Size& size);
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(ExoTestHelper);
31 };
32
33 } // namespace test
34 } // namespace exo
35
36 #endif // COMPONENTS_EXO_TEST_EXO_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « components/exo/test/exo_test_base.cc ('k') | components/exo/test/exo_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698