OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |