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

Side by Side Diff: ash/host/ash_window_tree_host_win.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_unified.cc ('k') | ash/host/ash_window_tree_host_win.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WIN_H_ 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_ 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ash/host/ash_window_tree_host_platform.h" 8 #include "ash/host/ash_window_tree_host_platform.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 class AshWindowTreeHostWin : public AshWindowTreeHostPlatform { 12 class AshWindowTreeHostWin : public AshWindowTreeHostPlatform {
13 public: 13 public:
14 explicit AshWindowTreeHostWin(const gfx::Rect& initial_bounds); 14 explicit AshWindowTreeHostWin(const gfx::Rect& initial_bounds);
15 ~AshWindowTreeHostWin() override; 15 ~AshWindowTreeHostWin() override;
16 16
17 private: 17 private:
18 // AshWindowTreeHost: 18 // AshWindowTreeHost:
19 void ToggleFullScreen() override; 19 void ToggleFullScreen() override;
20 20
21 // WindowTreeHost: 21 // WindowTreeHost:
22 void SetBounds(const gfx::Rect& bounds) override; 22 void SetBoundsInPixels(const gfx::Rect& bounds) override;
23 23
24 bool fullscreen_; 24 bool fullscreen_;
25 RECT saved_window_rect_; 25 RECT saved_window_rect_;
26 DWORD saved_window_style_; 26 DWORD saved_window_style_;
27 DWORD saved_window_ex_style_; 27 DWORD saved_window_ex_style_;
28 28
29 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostWin); 29 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostWin);
30 }; 30 };
31 31
32 } // namespace ash 32 } // namespace ash
33 33
34 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_ 34 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host_unified.cc ('k') | ash/host/ash_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698