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

Side by Side Diff: ash/host/ash_window_tree_host_unified.h

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (Closed)
Patch Set: rebase Created 4 years 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 | « ash/host/ash_window_tree_host_platform.cc ('k') | ash/host/ash_window_tree_host_unified.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 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 ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/host/ash_window_tree_host_platform.h" 10 #include "ash/host/ash_window_tree_host_platform.h"
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); 22 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds);
23 ~AshWindowTreeHostUnified() override; 23 ~AshWindowTreeHostUnified() override;
24 24
25 private: 25 private:
26 // AshWindowTreeHost: 26 // AshWindowTreeHost:
27 void PrepareForShutdown() override; 27 void PrepareForShutdown() override;
28 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override; 28 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override;
29 29
30 // aura::WindowTreeHost: 30 // aura::WindowTreeHost:
31 void SetBounds(const gfx::Rect& bounds) override; 31 void SetBoundsInPixels(const gfx::Rect& bounds) override;
32 void SetCursorNative(gfx::NativeCursor cursor) override; 32 void SetCursorNative(gfx::NativeCursor cursor) override;
33 void OnCursorVisibilityChangedNative(bool show) override; 33 void OnCursorVisibilityChangedNative(bool show) override;
34 34
35 // ui::PlatformWindow: 35 // ui::PlatformWindow:
36 void OnBoundsChanged(const gfx::Rect& bounds) override; 36 void OnBoundsChanged(const gfx::Rect& bounds) override;
37 37
38 // aura::WindowObserver: 38 // aura::WindowObserver:
39 void OnWindowDestroying(aura::Window* window) override; 39 void OnWindowDestroying(aura::Window* window) override;
40 40
41 std::vector<AshWindowTreeHost*> mirroring_hosts_; 41 std::vector<AshWindowTreeHost*> mirroring_hosts_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); 43 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified);
44 }; 44 };
45 45
46 } // namespace ash 46 } // namespace ash
47 47
48 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 48 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host_platform.cc ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698