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

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

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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/gfx/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 "ui/base/x/x11_util.h" 13 #include "ui/base/x/x11_util.h"
14 #include "ui/gfx/compositor/compositor.h" 14 #include "ui/compositor/compositor.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 16
17 #include <X11/Xlib.h> 17 #include <X11/Xlib.h>
18 18
19 namespace ui { 19 namespace ui {
20 20
21 class TestCompositorHostLinux : public TestCompositorHost, 21 class TestCompositorHostLinux : public TestCompositorHost,
22 public CompositorDelegate { 22 public CompositorDelegate {
23 public: 23 public:
24 TestCompositorHostLinux(const gfx::Rect& bounds); 24 TestCompositorHostLinux(const gfx::Rect& bounds);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 if (compositor_.get()) 95 if (compositor_.get())
96 compositor_->Draw(false); 96 compositor_->Draw(false);
97 } 97 }
98 98
99 // static 99 // static
100 TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) { 100 TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) {
101 return new TestCompositorHostLinux(bounds); 101 return new TestCompositorHostLinux(bounds);
102 } 102 }
103 103
104 } // namespace ui 104 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/test/test_compositor_host.h ('k') | ui/compositor/test/test_compositor_host_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698