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

Side by Side Diff: ui/gfx/compositor/test_suite.h

Issue 8360018: Revert 106606 - Use WebKit compositor in ui::Layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 months 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/compositor/test_compositor_host_linux.cc ('k') | ui/gfx/compositor/test_suite.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_COMPOSITOR_TEST_SUITE_H_ 5 #ifndef UI_GFX_COMPOSITOR_TEST_SUITE_H_
6 #define UI_GFX_COMPOSITOR_TEST_SUITE_H_ 6 #define UI_GFX_COMPOSITOR_TEST_SUITE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/test/test_suite.h" 10 #include "base/test/test_suite.h"
12 11
13 namespace ui {
14 class WebKitPlatformSupportImpl;
15 } // namespace ui
16
17 class MessageLoop;
18
19 class CompositorTestSuite : public base::TestSuite { 12 class CompositorTestSuite : public base::TestSuite {
20 public: 13 public:
21 CompositorTestSuite(int argc, char** argv); 14 CompositorTestSuite(int argc, char** argv);
22 ~CompositorTestSuite();
23 15
24 protected: 16 protected:
25 // base::TestSuite: 17 // base::TestSuite:
26 virtual void Initialize() OVERRIDE; 18 virtual void Initialize() OVERRIDE;
27 virtual void Shutdown() OVERRIDE; 19 virtual void Shutdown() OVERRIDE;
28
29 private:
30 scoped_ptr<MessageLoop> message_loop_;
31 }; 20 };
32 21
33 #endif // UI_GFX_COMPOSITOR_TEST_SUITE_H_ 22 #endif // UI_GFX_COMPOSITOR_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « ui/gfx/compositor/test_compositor_host_linux.cc ('k') | ui/gfx/compositor/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698