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

Side by Side Diff: content/renderer/mus/renderer_window_tree_client.h

Issue 2685883003: chromeos: converts observed pointer events to DIPs (Closed)
Patch Set: merge Created 3 years, 10 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
« no previous file with comments | « no previous file | content/renderer/mus/renderer_window_tree_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_
6 #define CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ 6 #define CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/binding.h" 9 #include "mojo/public/cpp/bindings/binding.h"
10 #include "services/ui/common/types.h" 10 #include "services/ui/common/types.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void OnWindowOpacityChanged(ui::Id window_id, 98 void OnWindowOpacityChanged(ui::Id window_id,
99 float old_opacity, 99 float old_opacity,
100 float new_opacity) override; 100 float new_opacity) override;
101 void OnWindowParentDrawnStateChanged(ui::Id window_id, bool drawn) override; 101 void OnWindowParentDrawnStateChanged(ui::Id window_id, bool drawn) override;
102 void OnWindowSharedPropertyChanged( 102 void OnWindowSharedPropertyChanged(
103 ui::Id window_id, 103 ui::Id window_id,
104 const std::string& name, 104 const std::string& name,
105 const base::Optional<std::vector<uint8_t>>& new_data) override; 105 const base::Optional<std::vector<uint8_t>>& new_data) override;
106 void OnWindowInputEvent(uint32_t event_id, 106 void OnWindowInputEvent(uint32_t event_id,
107 ui::Id window_id, 107 ui::Id window_id,
108 int64_t display_id,
108 std::unique_ptr<ui::Event> event, 109 std::unique_ptr<ui::Event> event,
109 bool matches_pointer_watcher) override; 110 bool matches_pointer_watcher) override;
110 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, 111 void OnPointerEventObserved(std::unique_ptr<ui::Event> event,
111 uint32_t window_id) override; 112 uint32_t window_id,
113 int64_t display_id) override;
112 void OnWindowFocused(ui::Id focused_window_id) override; 114 void OnWindowFocused(ui::Id focused_window_id) override;
113 void OnWindowPredefinedCursorChanged(ui::Id window_id, 115 void OnWindowPredefinedCursorChanged(ui::Id window_id,
114 ui::mojom::Cursor cursor) override; 116 ui::mojom::Cursor cursor) override;
115 void OnWindowSurfaceChanged(ui::Id window_id, 117 void OnWindowSurfaceChanged(ui::Id window_id,
116 const cc::SurfaceInfo& surface_info) override; 118 const cc::SurfaceInfo& surface_info) override;
117 void OnDragDropStart( 119 void OnDragDropStart(
118 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) 120 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
119 override; 121 override;
120 void OnDragEnter(ui::Id window_id, 122 void OnDragEnter(ui::Id window_id,
121 uint32_t event_flags, 123 uint32_t event_flags,
(...skipping 26 matching lines...) Expand all
148 ui::mojom::WindowTreePtr tree_; 150 ui::mojom::WindowTreePtr tree_;
149 std::unique_ptr<ui::WindowCompositorFrameSinkBinding> pending_frame_sink_; 151 std::unique_ptr<ui::WindowCompositorFrameSinkBinding> pending_frame_sink_;
150 mojo::Binding<ui::mojom::WindowTreeClient> binding_; 152 mojo::Binding<ui::mojom::WindowTreeClient> binding_;
151 153
152 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient); 154 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient);
153 }; 155 };
154 156
155 } // namespace content 157 } // namespace content
156 158
157 #endif // CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ 159 #endif // CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/mus/renderer_window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698