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

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

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Rebase Created 3 years, 7 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 #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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // Returns the current location of the mouse on screen. Note: this method may 167 // Returns the current location of the mouse on screen. Note: this method may
168 // race the asynchronous initialization; but in that case we return (0, 0). 168 // race the asynchronous initialization; but in that case we return (0, 0).
169 gfx::Point GetCursorScreenPoint(); 169 gfx::Point GetCursorScreenPoint();
170 170
171 // See description in window_tree.mojom. When an existing pointer watcher is 171 // See description in window_tree.mojom. When an existing pointer watcher is
172 // updated or cleared then any future events from the server for that watcher 172 // updated or cleared then any future events from the server for that watcher
173 // will be ignored. 173 // will be ignored.
174 void StartPointerWatcher(bool want_moves); 174 void StartPointerWatcher(bool want_moves);
175 void StopPointerWatcher(); 175 void StopPointerWatcher();
176 176
177 void GetFrameSinkId(Id window_id);
178
177 void AddObserver(WindowTreeClientObserver* observer); 179 void AddObserver(WindowTreeClientObserver* observer);
178 void RemoveObserver(WindowTreeClientObserver* observer); 180 void RemoveObserver(WindowTreeClientObserver* observer);
179 181
180 void AddTestObserver(WindowTreeClientTestObserver* observer); 182 void AddTestObserver(WindowTreeClientTestObserver* observer);
181 void RemoveTestObserver(WindowTreeClientTestObserver* observer); 183 void RemoveTestObserver(WindowTreeClientTestObserver* observer);
182 184
183 private: 185 private:
184 friend class InFlightBoundsChange; 186 friend class InFlightBoundsChange;
185 friend class InFlightFocusChange; 187 friend class InFlightFocusChange;
186 friend class InFlightPropertyChange; 188 friend class InFlightPropertyChange;
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 gfx::Insets normal_client_area_insets_; 637 gfx::Insets normal_client_area_insets_;
636 638
637 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 639 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
638 640
639 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 641 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
640 }; 642 };
641 643
642 } // namespace aura 644 } // namespace aura
643 645
644 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 646 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698