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

Side by Side Diff: ui/aura/mus/window_tree_client.h

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
« no previous file with comments | « ui/aura/mus/window_port_mus.cc ('k') | ui/aura/mus/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 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 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 void OnWindowInputEvent(uint32_t event_id, 335 void OnWindowInputEvent(uint32_t event_id,
336 Id window_id, 336 Id window_id,
337 std::unique_ptr<ui::Event> event, 337 std::unique_ptr<ui::Event> event,
338 bool matches_pointer_watcher) override; 338 bool matches_pointer_watcher) override;
339 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, 339 void OnPointerEventObserved(std::unique_ptr<ui::Event> event,
340 uint32_t window_id) override; 340 uint32_t window_id) override;
341 void OnWindowFocused(Id focused_window_id) override; 341 void OnWindowFocused(Id focused_window_id) override;
342 void OnWindowPredefinedCursorChanged(Id window_id, 342 void OnWindowPredefinedCursorChanged(Id window_id,
343 ui::mojom::Cursor cursor) override; 343 ui::mojom::Cursor cursor) override;
344 void OnWindowSurfaceChanged(Id window_id, 344 void OnWindowSurfaceChanged(Id window_id,
345 const cc::SurfaceId& surface_id, 345 const cc::SurfaceInfo& surface_info) override;
346 const gfx::Size& frame_size,
347 float device_scale_factor) override;
348 void OnDragDropStart( 346 void OnDragDropStart(
349 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) 347 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
350 override; 348 override;
351 void OnDragEnter(Id window_id, 349 void OnDragEnter(Id window_id,
352 uint32_t event_flags, 350 uint32_t event_flags,
353 const gfx::Point& position, 351 const gfx::Point& position,
354 uint32_t effect_bitmask, 352 uint32_t effect_bitmask,
355 const OnDragEnterCallback& callback) override; 353 const OnDragEnterCallback& callback) override;
356 void OnDragOver(Id window_id, 354 void OnDragOver(Id window_id,
357 uint32_t event_flags, 355 uint32_t event_flags,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 522 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
525 523
526 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 524 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
527 525
528 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 526 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
529 }; 527 };
530 528
531 } // namespace aura 529 } // namespace aura
532 530
533 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 531 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_port_mus.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698