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

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: Fixed Other Unit Tests - Moved Inner Classes Outside Created 4 years, 11 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 (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 "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool WantsMouseEventsWhenInactive() const override; 138 bool WantsMouseEventsWhenInactive() const override;
139 bool WidgetSizeIsClientSize() const override; 139 bool WidgetSizeIsClientSize() const override;
140 bool IsModal() const override; 140 bool IsModal() const override;
141 int GetInitialShowState() const override; 141 int GetInitialShowState() const override;
142 bool WillProcessWorkAreaChange() const override; 142 bool WillProcessWorkAreaChange() const override;
143 int GetNonClientComponent(const gfx::Point& point) const override; 143 int GetNonClientComponent(const gfx::Point& point) const override;
144 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override; 144 void GetWindowMask(const gfx::Size& size, gfx::Path* path) override;
145 bool GetClientAreaInsets(gfx::Insets* insets) const override; 145 bool GetClientAreaInsets(gfx::Insets* insets) const override;
146 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override; 146 void GetMinMaxSize(gfx::Size* min_size, gfx::Size* max_size) const override;
147 gfx::Size GetRootViewSize() const override; 147 gfx::Size GetRootViewSize() const override;
148 gfx::Size DIPToScreenSize(const gfx::Size& dip_size) const override;
148 void ResetWindowControls() override; 149 void ResetWindowControls() override;
149 gfx::NativeViewAccessible GetNativeViewAccessible() override; 150 gfx::NativeViewAccessible GetNativeViewAccessible() override;
150 bool ShouldHandleSystemCommands() const override; 151 bool ShouldHandleSystemCommands() const override;
151 void HandleAppDeactivated() override; 152 void HandleAppDeactivated() override;
152 void HandleActivationChanged(bool active) override; 153 void HandleActivationChanged(bool active) override;
153 bool HandleAppCommand(short command) override; 154 bool HandleAppCommand(short command) override;
154 void HandleCancelMode() override; 155 void HandleCancelMode() override;
155 void HandleCaptureLost() override; 156 void HandleCaptureLost() override;
156 void HandleClose() override; 157 void HandleClose() override;
157 bool HandleCommand(int command) override; 158 bool HandleCommand(int command) override;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 static bool is_cursor_visible_; 256 static bool is_cursor_visible_;
256 257
257 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 258 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
258 259
259 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 260 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
260 }; 261 };
261 262
262 } // namespace views 263 } // namespace views
263 264
264 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 265 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698