| 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_aura/desktop_root_window_host_win.h" | 5 #include "ui/views/widget/desktop_aura/desktop_root_window_host_win.h" |
| 6 | 6 |
| 7 #include "third_party/skia/include/core/SkPath.h" | 7 #include "third_party/skia/include/core/SkPath.h" |
| 8 #include "third_party/skia/include/core/SkRegion.h" | 8 #include "third_party/skia/include/core/SkRegion.h" |
| 9 #include "ui/aura/client/aura_constants.h" | 9 #include "ui/aura/client/aura_constants.h" |
| 10 #include "ui/aura/client/default_capture_client.h" | 10 #include "ui/aura/client/default_capture_client.h" |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 const base::NativeEvent& native_event) { | 432 const base::NativeEvent& native_event) { |
| 433 } | 433 } |
| 434 | 434 |
| 435 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged( | 435 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged( |
| 436 float device_scale_factor) { | 436 float device_scale_factor) { |
| 437 } | 437 } |
| 438 | 438 |
| 439 void DesktopRootWindowHostWin::PrepareForShutdown() { | 439 void DesktopRootWindowHostWin::PrepareForShutdown() { |
| 440 } | 440 } |
| 441 | 441 |
| 442 void DesktopRootWindowHostWin::SetIntProperty(const std::string& name, |
| 443 int value) { |
| 444 } |
| 445 |
| 442 //////////////////////////////////////////////////////////////////////////////// | 446 //////////////////////////////////////////////////////////////////////////////// |
| 443 // DesktopRootWindowHostWin, HWNDMessageHandlerDelegate implementation: | 447 // DesktopRootWindowHostWin, HWNDMessageHandlerDelegate implementation: |
| 444 | 448 |
| 445 bool DesktopRootWindowHostWin::IsWidgetWindow() const { | 449 bool DesktopRootWindowHostWin::IsWidgetWindow() const { |
| 446 return true; | 450 return true; |
| 447 } | 451 } |
| 448 | 452 |
| 449 bool DesktopRootWindowHostWin::IsUsingCustomFrame() const { | 453 bool DesktopRootWindowHostWin::IsUsingCustomFrame() const { |
| 450 return !GetWidget()->ShouldUseNativeFrame(); | 454 return !GetWidget()->ShouldUseNativeFrame(); |
| 451 } | 455 } |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 769 DesktopRootWindowHost* DesktopRootWindowHost::Create( |
| 766 internal::NativeWidgetDelegate* native_widget_delegate, | 770 internal::NativeWidgetDelegate* native_widget_delegate, |
| 767 DesktopNativeWidgetAura* desktop_native_widget_aura, | 771 DesktopNativeWidgetAura* desktop_native_widget_aura, |
| 768 const gfx::Rect& initial_bounds) { | 772 const gfx::Rect& initial_bounds) { |
| 769 return new DesktopRootWindowHostWin(native_widget_delegate, | 773 return new DesktopRootWindowHostWin(native_widget_delegate, |
| 770 desktop_native_widget_aura, | 774 desktop_native_widget_aura, |
| 771 initial_bounds); | 775 initial_bounds); |
| 772 } | 776 } |
| 773 | 777 |
| 774 } // namespace views | 778 } // namespace views |
| OLD | NEW |