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

Unified Diff: ui/gfx/compositor/test/test_compositor_host_linux.cc

Issue 10258006: Remove dispatcher in test compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/compositor/test/test_compositor_host.h ('k') | ui/gfx/compositor/test/test_compositor_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/test/test_compositor_host_linux.cc
diff --git a/ui/gfx/compositor/test/test_compositor_host_linux.cc b/ui/gfx/compositor/test/test_compositor_host_linux.cc
index b601810cf5867fab0ba84327b2baa1ec69107f4d..cf184f247a4ce66797842ff21e2d2ca1bcda791b 100644
--- a/ui/gfx/compositor/test/test_compositor_host_linux.cc
+++ b/ui/gfx/compositor/test/test_compositor_host_linux.cc
@@ -10,17 +10,12 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "base/message_loop.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/compositor/compositor.h"
#include "ui/gfx/rect.h"
#include <X11/Xlib.h>
-#if defined(USE_AURA)
-#include "base/message_pump_x.h"
-#endif
-
namespace ui {
class TestCompositorHostLinux : public TestCompositorHost,
@@ -37,9 +32,6 @@ class TestCompositorHostLinux : public TestCompositorHost,
// Overridden from CompositorDelegate:
virtual void ScheduleDraw() OVERRIDE;
- // Overridden from MessagePumpDispatcher:
- virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
-
void Draw();
gfx::Rect bounds_;
@@ -99,10 +91,6 @@ void TestCompositorHostLinux::ScheduleDraw() {
}
}
-bool TestCompositorHostLinux::Dispatch(const base::NativeEvent& event) {
- return true;
-}
-
void TestCompositorHostLinux::Draw() {
if (compositor_.get())
compositor_->Draw(false);
« no previous file with comments | « ui/gfx/compositor/test/test_compositor_host.h ('k') | ui/gfx/compositor/test/test_compositor_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698