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

Side by Side Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 11 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 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
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
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
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698