| 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/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id); | 375 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id); |
| 376 } | 376 } |
| 377 | 377 |
| 378 void OnDragDropStart( | 378 void OnDragDropStart( |
| 379 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data) override { | 379 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data) override { |
| 380 NOTIMPLEMENTED(); | 380 NOTIMPLEMENTED(); |
| 381 } | 381 } |
| 382 | 382 |
| 383 void OnWindowSurfaceChanged(Id window_id, | 383 void OnWindowSurfaceChanged(Id window_id, |
| 384 const cc::SurfaceId& surface_id, | 384 const cc::SurfaceId& surface_id, |
| 385 const cc::SurfaceSequence& surface_sequence, | |
| 386 const gfx::Size& frame_size, | 385 const gfx::Size& frame_size, |
| 387 float device_scale_factor) override { | 386 float device_scale_factor) override { |
| 388 tracker_.OnWindowSurfaceChanged(window_id, surface_id, surface_sequence, | 387 tracker_.OnWindowSurfaceChanged(window_id, surface_id, frame_size, |
| 389 frame_size, device_scale_factor); | 388 device_scale_factor); |
| 390 } | 389 } |
| 391 | 390 |
| 392 void OnDragEnter(uint32_t window, | 391 void OnDragEnter(uint32_t window, |
| 393 uint32_t key_state, | 392 uint32_t key_state, |
| 394 const gfx::Point& position, | 393 const gfx::Point& position, |
| 395 uint32_t effect_bitmask, | 394 uint32_t effect_bitmask, |
| 396 const OnDragEnterCallback& callback) override { | 395 const OnDragEnterCallback& callback) override { |
| 397 NOTIMPLEMENTED(); | 396 NOTIMPLEMENTED(); |
| 398 } | 397 } |
| 399 void OnDragOver(uint32_t window, | 398 void OnDragOver(uint32_t window, |
| (...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2212 | 2211 |
| 2213 // TODO(sky): make sure coverage of what was | 2212 // TODO(sky): make sure coverage of what was |
| 2214 // WindowManagerTest.SecondEmbedRoot_InitService and | 2213 // WindowManagerTest.SecondEmbedRoot_InitService and |
| 2215 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window | 2214 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window |
| 2216 // manager | 2215 // manager |
| 2217 // tests. | 2216 // tests. |
| 2218 | 2217 |
| 2219 } // namespace test | 2218 } // namespace test |
| 2220 } // namespace ws | 2219 } // namespace ws |
| 2221 } // namespace ui | 2220 } // namespace ui |
| OLD | NEW |