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

Unified Diff: content/renderer/mus/compositor_mus_connection.h

Issue 2270953002: Merge the mojo blink type converter into ui/events/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Review Created 4 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
Index: content/renderer/mus/compositor_mus_connection.h
diff --git a/content/renderer/mus/compositor_mus_connection.h b/content/renderer/mus/compositor_mus_connection.h
index b344e2aac6b5ca33c4c36111d925fe40036bbae3..7793a855fc60fd9d7aa19e74f10241b803a8a906 100644
--- a/content/renderer/mus/compositor_mus_connection.h
+++ b/content/renderer/mus/compositor_mus_connection.h
@@ -14,6 +14,7 @@
#include "services/ui/public/cpp/window_tree_client.h"
#include "services/ui/public/cpp/window_tree_client_delegate.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
+#include "ui/events/gestures/motion_event_aura.h"
namespace ui {
struct DidOverscrollParams;
@@ -82,6 +83,8 @@ class CONTENT_EXPORT CompositorMusConnection
std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>*
ack_callback) override;
+ std::unique_ptr<blink::WebInputEvent> Convert(const ui::Event& event);
sadrul 2016/08/26 02:37:02 Non-overrides before override. Move this up.
jonross 2016/08/26 14:33:50 Done.
+
const int routing_id_;
ui::Window* root_;
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
@@ -89,6 +92,9 @@ class CONTENT_EXPORT CompositorMusConnection
InputHandlerManager* const input_handler_manager_;
std::unique_ptr<ui::WindowSurfaceBinding> window_surface_binding_;
+ // Stores the current state of the active pointers targeting this object.
+ ui::MotionEventAura pointer_state_;
+
DISALLOW_COPY_AND_ASSIGN(CompositorMusConnection);
};

Powered by Google App Engine
This is Rietveld 408576698