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

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

Issue 2685883003: chromeos: converts observed pointer events to DIPs (Closed)
Patch Set: fix content 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
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void OnWindowOpacityChanged(ui::Id window_id, 97 void OnWindowOpacityChanged(ui::Id window_id,
98 float old_opacity, 98 float old_opacity,
99 float new_opacity) override; 99 float new_opacity) override;
100 void OnWindowParentDrawnStateChanged(ui::Id window_id, bool drawn) override; 100 void OnWindowParentDrawnStateChanged(ui::Id window_id, bool drawn) override;
101 void OnWindowSharedPropertyChanged( 101 void OnWindowSharedPropertyChanged(
102 ui::Id window_id, 102 ui::Id window_id,
103 const std::string& name, 103 const std::string& name,
104 const base::Optional<std::vector<uint8_t>>& new_data) override; 104 const base::Optional<std::vector<uint8_t>>& new_data) override;
105 void OnWindowInputEvent(uint32_t event_id, 105 void OnWindowInputEvent(uint32_t event_id,
106 ui::Id window_id, 106 ui::Id window_id,
107 int64_t display_id,
107 std::unique_ptr<ui::Event> event, 108 std::unique_ptr<ui::Event> event,
108 bool matches_pointer_watcher) override; 109 bool matches_pointer_watcher) override;
109 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, 110 void OnPointerEventObserved(std::unique_ptr<ui::Event> event,
110 uint32_t window_id) override; 111 uint32_t window_id,
112 int64_t display_id) override;
111 void OnWindowFocused(ui::Id focused_window_id) override; 113 void OnWindowFocused(ui::Id focused_window_id) override;
112 void OnWindowPredefinedCursorChanged(ui::Id window_id, 114 void OnWindowPredefinedCursorChanged(ui::Id window_id,
113 ui::mojom::Cursor cursor) override; 115 ui::mojom::Cursor cursor) override;
114 void OnWindowSurfaceChanged(ui::Id window_id, 116 void OnWindowSurfaceChanged(ui::Id window_id,
115 const cc::SurfaceInfo& surface_info) override; 117 const cc::SurfaceInfo& surface_info) override;
116 void OnDragDropStart( 118 void OnDragDropStart(
117 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) 119 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
118 override; 120 override;
119 void OnDragEnter(ui::Id window_id, 121 void OnDragEnter(ui::Id window_id,
120 uint32_t event_flags, 122 uint32_t event_flags,
(...skipping 26 matching lines...) Expand all
147 ui::mojom::WindowTreePtr tree_; 149 ui::mojom::WindowTreePtr tree_;
148 std::unique_ptr<ui::WindowCompositorFrameSinkBinding> pending_frame_sink_; 150 std::unique_ptr<ui::WindowCompositorFrameSinkBinding> pending_frame_sink_;
149 mojo::Binding<ui::mojom::WindowTreeClient> binding_; 151 mojo::Binding<ui::mojom::WindowTreeClient> binding_;
150 152
151 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient); 153 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient);
152 }; 154 };
153 155
154 } // namespace content 156 } // namespace content
155 157
156 #endif // CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ 158 #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') | services/ui/ws/window_manager_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698