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

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

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 8 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 | « ash/mus/move_event_handler.cc ('k') | 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void OnWindowInputEvent(uint32_t event_id, 124 void OnWindowInputEvent(uint32_t event_id,
125 ui::Id window_id, 125 ui::Id window_id,
126 int64_t display_id, 126 int64_t display_id,
127 std::unique_ptr<ui::Event> event, 127 std::unique_ptr<ui::Event> event,
128 bool matches_pointer_watcher) override; 128 bool matches_pointer_watcher) override;
129 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, 129 void OnPointerEventObserved(std::unique_ptr<ui::Event> event,
130 uint32_t window_id, 130 uint32_t window_id,
131 int64_t display_id) override; 131 int64_t display_id) override;
132 void OnWindowFocused(ui::Id focused_window_id) override; 132 void OnWindowFocused(ui::Id focused_window_id) override;
133 void OnWindowPredefinedCursorChanged(ui::Id window_id, 133 void OnWindowPredefinedCursorChanged(ui::Id window_id,
134 ui::mojom::Cursor cursor) override; 134 ui::mojom::CursorType cursor) override;
135 void OnWindowSurfaceChanged(ui::Id window_id, 135 void OnWindowSurfaceChanged(ui::Id window_id,
136 const cc::SurfaceInfo& surface_info) override; 136 const cc::SurfaceInfo& surface_info) override;
137 void OnDragDropStart( 137 void OnDragDropStart(
138 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) 138 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
139 override; 139 override;
140 void OnDragEnter(ui::Id window_id, 140 void OnDragEnter(ui::Id window_id,
141 uint32_t event_flags, 141 uint32_t event_flags,
142 const gfx::Point& position, 142 const gfx::Point& position,
143 uint32_t effect_bitmask, 143 uint32_t effect_bitmask,
144 const OnDragEnterCallback& callback) override; 144 const OnDragEnterCallback& callback) override;
(...skipping 28 matching lines...) Expand all
173 ui::mojom::WindowTreePtr tree_; 173 ui::mojom::WindowTreePtr tree_;
174 cc::LocalSurfaceId current_local_surface_id_; 174 cc::LocalSurfaceId current_local_surface_id_;
175 mojo::Binding<ui::mojom::WindowTreeClient> binding_; 175 mojo::Binding<ui::mojom::WindowTreeClient> binding_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient); 177 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient);
178 }; 178 };
179 179
180 } // namespace content 180 } // namespace content
181 181
182 #endif // CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ 182 #endif // CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « ash/mus/move_event_handler.cc ('k') | content/renderer/mus/renderer_window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698