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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 1426933002: Refactor Windows DPI Point, Rect, and Size for Multiple Monitor DPI Awareness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR Feedback Created 5 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ui/aura/window_tree_host.h" 8 #include "ui/aura/window_tree_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 bool CanActivate() const override; 136 bool CanActivate() const override;
137 bool WidgetSizeIsClientSize() const override; 137 bool WidgetSizeIsClientSize() const override;
138 bool IsModal() const override; 138 bool IsModal() const override;
139 int GetInitialShowState() const override; 139 int GetInitialShowState() const override;
140 bool WillProcessWorkAreaChange() const override; 140 bool WillProcessWorkAreaChange() const override;
141 int GetNonClientComponent(const gfx::Point& point) const override; 141 int GetNonClientComponent(const gfx::Point& point) const override;
142 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override; 142 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override;
143 bool GetClientAreaInsets(gfx::Insets* insets) const override; 143 bool GetClientAreaInsets(gfx::Insets* insets) const override;
144 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override; 144 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override;
145 gfx::Size GetRootViewSize() const override; 145 gfx::Size GetRootViewSize() const override;
146 gfx::Size DIPToScreenSize(const gfx::Size& dip_size) const override;
146 void ResetWindowControls() override; 147 void ResetWindowControls() override;
147 gfx::NativeViewAccessible GetNativeViewAccessible() override; 148 gfx::NativeViewAccessible GetNativeViewAccessible() override;
148 bool ShouldHandleSystemCommands() const override; 149 bool ShouldHandleSystemCommands() const override;
149 void HandleAppDeactivated() override; 150 void HandleAppDeactivated() override;
150 void HandleActivationChanged(bool active) override; 151 void HandleActivationChanged(bool active) override;
151 bool HandleAppCommand(short command) override; 152 bool HandleAppCommand(short command) override;
152 void HandleCancelMode() override; 153 void HandleCancelMode() override;
153 void HandleCaptureLost() override; 154 void HandleCaptureLost() override;
154 void HandleClose() override; 155 void HandleClose() override;
155 bool HandleCommand(int command) override; 156 bool HandleCommand(int command) override;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 static bool is_cursor_visible_; 254 static bool is_cursor_visible_;
254 255
255 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 256 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
256 257
257 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 258 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
258 }; 259 };
259 260
260 } // namespace views 261 } // namespace views
261 262
262 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 263 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698