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

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: 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
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 14 matching lines...) Expand all
25 public: 25 public:
26 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); 26 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds);
27 ~AshWindowTreeHostUnified() override; 27 ~AshWindowTreeHostUnified() override;
28 28
29 private: 29 private:
30 // AshWindowTreeHost: 30 // AshWindowTreeHost:
31 void PrepareForShutdown() override; 31 void PrepareForShutdown() override;
32 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override; 32 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override;
33 33
34 // aura::WindowTreeHost: 34 // aura::WindowTreeHost:
35 void SetBounds(const gfx::Rect& bounds) override; 35 void SetBoundsInPixel(const gfx::Rect& bounds) override;
36 void SetCursorNative(gfx::NativeCursor cursor) override; 36 void SetCursorNative(gfx::NativeCursor cursor) override;
37 void OnCursorVisibilityChangedNative(bool show) override; 37 void OnCursorVisibilityChangedNative(bool show) override;
38 38
39 // ui::PlatformWindow: 39 // ui::PlatformWindow:
40 void OnBoundsChanged(const gfx::Rect& bounds) override; 40 void OnBoundsChanged(const gfx::Rect& bounds) override;
41 41
42 // aura::WindowObserver: 42 // aura::WindowObserver:
43 void OnWindowDestroying(aura::Window* window) override; 43 void OnWindowDestroying(aura::Window* window) override;
44 44
45 std::vector<AshWindowTreeHost*> mirroring_hosts_; 45 std::vector<AshWindowTreeHost*> mirroring_hosts_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); 47 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified);
48 }; 48 };
49 49
50 } // namespace ash 50 } // namespace ash
51 51
52 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 52 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698