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

Side by Side Diff: ui/views/widget/desktop_root_window_host_win.cc

Issue 10909043: Cancel drag if display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/desktop_root_window_host_win.h ('k') | ui/views/widget/native_widget_aura.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 (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 #include "ui/views/widget/desktop_root_window_host_win.h" 5 #include "ui/views/widget/desktop_root_window_host_win.h"
6 6
7 #include "ui/aura/root_window.h" 7 #include "ui/aura/root_window.h"
8 #include "ui/views/win/hwnd_message_handler.h" 8 #include "ui/views/win/hwnd_message_handler.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 115
116 void DesktopRootWindowHostWin::PostNativeEvent( 116 void DesktopRootWindowHostWin::PostNativeEvent(
117 const base::NativeEvent& native_event) { 117 const base::NativeEvent& native_event) {
118 } 118 }
119 119
120 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged( 120 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged(
121 float device_scale_factor) { 121 float device_scale_factor) {
122 } 122 }
123 123
124 void DesktopRootWindowHostWin::PrepareForShutdown() {
125 }
126
124 //////////////////////////////////////////////////////////////////////////////// 127 ////////////////////////////////////////////////////////////////////////////////
125 // DesktopRootWindowHostWin, HWNDMessageHandlerDelegate implementation: 128 // DesktopRootWindowHostWin, HWNDMessageHandlerDelegate implementation:
126 129
127 bool DesktopRootWindowHostWin::IsWidgetWindow() const { 130 bool DesktopRootWindowHostWin::IsWidgetWindow() const {
128 return true; 131 return true;
129 } 132 }
130 133
131 bool DesktopRootWindowHostWin::IsUsingCustomFrame() const { 134 bool DesktopRootWindowHostWin::IsUsingCustomFrame() const {
132 return true; 135 return true;
133 } 136 }
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // DesktopRootWindowHost, public: 367 // DesktopRootWindowHost, public:
365 368
366 // static 369 // static
367 DesktopRootWindowHost* DesktopRootWindowHost::Create( 370 DesktopRootWindowHost* DesktopRootWindowHost::Create(
368 internal::NativeWidgetDelegate* native_widget_delegate, 371 internal::NativeWidgetDelegate* native_widget_delegate,
369 const gfx::Rect& initial_bounds) { 372 const gfx::Rect& initial_bounds) {
370 return new DesktopRootWindowHostWin(native_widget_delegate, initial_bounds); 373 return new DesktopRootWindowHostWin(native_widget_delegate, initial_bounds);
371 } 374 }
372 375
373 } // namespace views 376 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_root_window_host_win.h ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698