OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id); | 376 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id); |
377 } | 377 } |
378 | 378 |
379 void OnDragDropStart( | 379 void OnDragDropStart( |
380 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data) | 380 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data) |
381 override { | 381 override { |
382 NOTIMPLEMENTED(); | 382 NOTIMPLEMENTED(); |
383 } | 383 } |
384 | 384 |
385 void OnWindowSurfaceChanged(Id window_id, | 385 void OnWindowSurfaceChanged(Id window_id, |
386 const cc::SurfaceId& surface_id, | 386 const cc::SurfaceInfo& surface_info) override { |
387 const gfx::Size& frame_size, | 387 tracker_.OnWindowSurfaceChanged(window_id, surface_info); |
388 float device_scale_factor) override { | |
389 tracker_.OnWindowSurfaceChanged(window_id, surface_id, frame_size, | |
390 device_scale_factor); | |
391 } | 388 } |
392 | 389 |
393 void OnDragEnter(uint32_t window, | 390 void OnDragEnter(uint32_t window, |
394 uint32_t key_state, | 391 uint32_t key_state, |
395 const gfx::Point& position, | 392 const gfx::Point& position, |
396 uint32_t effect_bitmask, | 393 uint32_t effect_bitmask, |
397 const OnDragEnterCallback& callback) override { | 394 const OnDragEnterCallback& callback) override { |
398 NOTIMPLEMENTED(); | 395 NOTIMPLEMENTED(); |
399 } | 396 } |
400 void OnDragOver(uint32_t window, | 397 void OnDragOver(uint32_t window, |
(...skipping 1816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2217 | 2214 |
2218 // TODO(sky): make sure coverage of what was | 2215 // TODO(sky): make sure coverage of what was |
2219 // WindowManagerTest.SecondEmbedRoot_InitService and | 2216 // WindowManagerTest.SecondEmbedRoot_InitService and |
2220 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window | 2217 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window |
2221 // manager | 2218 // manager |
2222 // tests. | 2219 // tests. |
2223 | 2220 |
2224 } // namespace test | 2221 } // namespace test |
2225 } // namespace ws | 2222 } // namespace ws |
2226 } // namespace ui | 2223 } // namespace ui |
OLD | NEW |