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

Side by Side Diff: services/ui/public/cpp/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 | « services/ui/public/cpp/window_private.h ('k') | services/ui/public/cpp/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 SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 12 matching lines...) Expand all
23 #include "services/ui/public/cpp/window.h" 23 #include "services/ui/public/cpp/window.h"
24 #include "services/ui/public/cpp/window_manager_delegate.h" 24 #include "services/ui/public/cpp/window_manager_delegate.h"
25 #include "services/ui/public/interfaces/window_tree.mojom.h" 25 #include "services/ui/public/interfaces/window_tree.mojom.h"
26 26
27 namespace display { 27 namespace display {
28 class Display; 28 class Display;
29 } 29 }
30 30
31 namespace gfx { 31 namespace gfx {
32 class Insets; 32 class Insets;
33 class Size;
34 } 33 }
35 34
36 namespace service_manager { 35 namespace service_manager {
37 class Connector; 36 class Connector;
38 } 37 }
39 38
40 namespace ui { 39 namespace ui {
41 class InFlightChange; 40 class InFlightChange;
42 class WindowTreeClientDelegate; 41 class WindowTreeClientDelegate;
43 class WindowTreeClientPrivate; 42 class WindowTreeClientPrivate;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 void OnWindowInputEvent(uint32_t event_id, 323 void OnWindowInputEvent(uint32_t event_id,
325 Id window_id, 324 Id window_id,
326 std::unique_ptr<ui::Event> event, 325 std::unique_ptr<ui::Event> event,
327 bool matches_pointer_watcher) override; 326 bool matches_pointer_watcher) override;
328 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, 327 void OnPointerEventObserved(std::unique_ptr<ui::Event> event,
329 uint32_t window_id) override; 328 uint32_t window_id) override;
330 void OnWindowFocused(Id focused_window_id) override; 329 void OnWindowFocused(Id focused_window_id) override;
331 void OnWindowPredefinedCursorChanged(Id window_id, 330 void OnWindowPredefinedCursorChanged(Id window_id,
332 mojom::Cursor cursor) override; 331 mojom::Cursor cursor) override;
333 void OnWindowSurfaceChanged(Id window_id, 332 void OnWindowSurfaceChanged(Id window_id,
334 const cc::SurfaceId& surface_id, 333 const cc::SurfaceInfo& surface_info) override;
335 const gfx::Size& frame_size,
336 float device_scale_factor) override;
337 void OnDragDropStart( 334 void OnDragDropStart(
338 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) 335 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
339 override; 336 override;
340 void OnDragEnter(Id window_id, 337 void OnDragEnter(Id window_id,
341 uint32_t event_flags, 338 uint32_t event_flags,
342 const gfx::Point& position, 339 const gfx::Point& position,
343 uint32_t effect_bitmask, 340 uint32_t effect_bitmask,
344 const OnDragEnterCallback& callback) override; 341 const OnDragEnterCallback& callback) override;
345 void OnDragOver(Id window_id, 342 void OnDragOver(Id window_id,
346 uint32_t event_flags, 343 uint32_t event_flags,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 std::set<Id> drag_entered_windows_; 485 std::set<Id> drag_entered_windows_;
489 486
490 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 487 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
491 488
492 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 489 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
493 }; 490 };
494 491
495 } // namespace ui 492 } // namespace ui
496 493
497 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 494 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_private.h ('k') | services/ui/public/cpp/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698