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

Unified Diff: ui/ozone/platform/egltest/ozone_platform_egltest.cc

Issue 667823002: PlatformEventDispatcher::DispatchEvent() should return a PostDispatchAction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_enums
Patch Set: Fix platform_event_source_unittest.cc Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/dri/dri_window.cc ('k') | ui/platform_window/x11/x11_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
index c192c9fecf1af724d909f689c537aa44669ce05e..4d9d02a3905247cd2e6ba083893bed54eda65b02 100644
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
@@ -70,7 +70,8 @@ class EgltestWindow : public PlatformWindow, public PlatformEventDispatcher {
// PlatformEventDispatcher:
virtual bool CanDispatchEvent(const PlatformEvent& event) override;
- virtual uint32_t DispatchEvent(const PlatformEvent& event) override;
+ virtual ui::PostDispatchAction DispatchEvent(
+ const PlatformEvent& event) override;
private:
PlatformWindowDelegate* delegate_;
@@ -149,7 +150,8 @@ bool EgltestWindow::CanDispatchEvent(const ui::PlatformEvent& ne) {
return true;
}
-uint32_t EgltestWindow::DispatchEvent(const ui::PlatformEvent& native_event) {
+ui::PostDispatchAction EgltestWindow::DispatchEvent(
+ const ui::PlatformEvent& native_event) {
DispatchEventFromNativeUiEvent(
native_event,
base::Bind(&PlatformWindowDelegate::DispatchEvent,
« no previous file with comments | « ui/ozone/platform/dri/dri_window.cc ('k') | ui/platform_window/x11/x11_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698