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

Side by Side Diff: ui/views/mus/window_manager_connection.h

Issue 2248263003: Updates PointerEventRouter to handle switching move type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge again Created 4 years, 4 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/views/mus/pointer_watcher_event_router_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ 5 #ifndef UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_
6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ 6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 shell::Connector* connector, 59 shell::Connector* connector,
60 const shell::Identity& identity); 60 const shell::Identity& identity);
61 static WindowManagerConnection* Get(); 61 static WindowManagerConnection* Get();
62 static bool Exists(); 62 static bool Exists();
63 63
64 PointerWatcherEventRouter* pointer_watcher_event_router() { 64 PointerWatcherEventRouter* pointer_watcher_event_router() {
65 return pointer_watcher_event_router_.get(); 65 return pointer_watcher_event_router_.get();
66 } 66 }
67 shell::Connector* connector() { return connector_; } 67 shell::Connector* connector() { return connector_; }
68 ui::GpuService* gpu_service() { return gpu_service_.get(); } 68 ui::GpuService* gpu_service() { return gpu_service_.get(); }
69 ui::WindowTreeClient* client() { return client_.get(); }
69 70
70 ui::Window* NewWindow( 71 ui::Window* NewWindow(
71 const std::map<std::string, std::vector<uint8_t>>& properties); 72 const std::map<std::string, std::vector<uint8_t>>& properties);
72 73
73 NativeWidget* CreateNativeWidgetMus( 74 NativeWidget* CreateNativeWidgetMus(
74 const std::map<std::string, std::vector<uint8_t>>& properties, 75 const std::map<std::string, std::vector<uint8_t>>& properties,
75 const Widget::InitParams& init_params, 76 const Widget::InitParams& init_params,
76 internal::NativeWidgetDelegate* delegate); 77 internal::NativeWidgetDelegate* delegate);
77 78
78 const std::set<ui::Window*>& GetRoots() const; 79 const std::set<ui::Window*>& GetRoots() const;
(...skipping 22 matching lines...) Expand all
101 std::unique_ptr<ui::GpuService> gpu_service_; 102 std::unique_ptr<ui::GpuService> gpu_service_;
102 std::unique_ptr<PointerWatcherEventRouter> pointer_watcher_event_router_; 103 std::unique_ptr<PointerWatcherEventRouter> pointer_watcher_event_router_;
103 std::unique_ptr<SurfaceContextFactory> compositor_context_factory_; 104 std::unique_ptr<SurfaceContextFactory> compositor_context_factory_;
104 105
105 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection); 106 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection);
106 }; 107 };
107 108
108 } // namespace views 109 } // namespace views
109 110
110 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ 111 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_
OLDNEW
« no previous file with comments | « ui/views/mus/pointer_watcher_event_router_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698