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

Unified Diff: ui/ozone/platform/test/test_window.h

Issue 419993003: Adds a do-nothing ozone platform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds a do-nothing ozone platform when --ozone-dump-file is not specified (rebased) Created 6 years, 4 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/ozone/platform/test/ozone_platform_test.cc ('k') | ui/ozone/platform/test/test_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/test/test_window.h
diff --git a/ui/ozone/platform/test/test_window.h b/ui/ozone/platform/test/test_window.h
index 64b4a2e692f5e3be966e5880ba0e0fe1e31cb41c..13a23a69edc36e93fd179c8ab8be5536fef917f2 100644
--- a/ui/ozone/platform/test/test_window.h
+++ b/ui/ozone/platform/test/test_window.h
@@ -6,7 +6,6 @@
#define UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_
#include "base/files/file_path.h"
-#include "ui/events/platform/platform_event_dispatcher.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/platform_window/platform_window.h"
@@ -16,7 +15,7 @@ namespace ui {
class PlatformWindowDelegate;
class TestWindowManager;
-class TestWindow : public PlatformWindow, public PlatformEventDispatcher {
+class TestWindow : public PlatformWindow {
public:
TestWindow(PlatformWindowDelegate* delegate,
TestWindowManager* manager,
@@ -41,10 +40,6 @@ class TestWindow : public PlatformWindow, public PlatformEventDispatcher {
virtual void SetCursor(PlatformCursor cursor) OVERRIDE;
virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
- // PlatformEventDispatcher:
- virtual bool CanDispatchEvent(const PlatformEvent& event) OVERRIDE;
- virtual uint32_t DispatchEvent(const PlatformEvent& event) OVERRIDE;
-
private:
PlatformWindowDelegate* delegate_;
TestWindowManager* manager_;
« no previous file with comments | « ui/ozone/platform/test/ozone_platform_test.cc ('k') | ui/ozone/platform/test/test_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698