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

Side by Side Diff: ui/compositor/test/test_compositor_host_ozone.cc

Issue 19629002: Use a direct include of the message_loop header in ui/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/compositor/layer_unittest.cc ('k') | ui/compositor/test/test_compositor_host_x11.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 2013 The Chromium Authors. All rights reserved. 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 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 #include "ui/compositor/test/test_compositor_host.h" 5 #include "ui/compositor/test/test_compositor_host.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "ui/compositor/compositor.h" 14 #include "ui/compositor/compositor.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 class TestCompositorHostOzone : public TestCompositorHost, 19 class TestCompositorHostOzone : public TestCompositorHost,
20 public CompositorDelegate { 20 public CompositorDelegate {
21 public: 21 public:
22 TestCompositorHostOzone(const gfx::Rect& bounds); 22 TestCompositorHostOzone(const gfx::Rect& bounds);
23 virtual ~TestCompositorHostOzone(); 23 virtual ~TestCompositorHostOzone();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 if (compositor_.get()) 76 if (compositor_.get())
77 compositor_->Draw(); 77 compositor_->Draw();
78 } 78 }
79 79
80 // static 80 // static
81 TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) { 81 TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) {
82 return new TestCompositorHostOzone(bounds); 82 return new TestCompositorHostOzone(bounds);
83 } 83 }
84 84
85 } // namespace ui 85 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/compositor/test/test_compositor_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698