| 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 "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/desktop/desktop_activation_client.h" | 10 #include "ui/aura/desktop/desktop_activation_client.h" |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 | 395 |
| 396 void DesktopRootWindowHostWin::UnConfineCursor() { | 396 void DesktopRootWindowHostWin::UnConfineCursor() { |
| 397 } | 397 } |
| 398 | 398 |
| 399 void DesktopRootWindowHostWin::MoveCursorTo(const gfx::Point& location) { | 399 void DesktopRootWindowHostWin::MoveCursorTo(const gfx::Point& location) { |
| 400 } | 400 } |
| 401 | 401 |
| 402 void DesktopRootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) { | 402 void DesktopRootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) { |
| 403 } | 403 } |
| 404 | 404 |
| 405 bool DesktopRootWindowHostLinux::CopyAreaToSkCanvas( |
| 406 const gfx::Rect& source_bounds, |
| 407 const gfx::Point& dest_offset, |
| 408 SkCanvas* canvas) { |
| 409 NOTIMPLEMENTED(); |
| 410 return false; |
| 411 } |
| 412 |
| 405 bool DesktopRootWindowHostWin::GrabSnapshot( | 413 bool DesktopRootWindowHostWin::GrabSnapshot( |
| 406 const gfx::Rect& snapshot_bounds, | 414 const gfx::Rect& snapshot_bounds, |
| 407 std::vector<unsigned char>* png_representation) { | 415 std::vector<unsigned char>* png_representation) { |
| 416 NOTIMPLEMENTED(); |
| 408 return false; | 417 return false; |
| 409 } | 418 } |
| 410 | 419 |
| 411 void DesktopRootWindowHostWin::PostNativeEvent( | 420 void DesktopRootWindowHostWin::PostNativeEvent( |
| 412 const base::NativeEvent& native_event) { | 421 const base::NativeEvent& native_event) { |
| 413 } | 422 } |
| 414 | 423 |
| 415 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged( | 424 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged( |
| 416 float device_scale_factor) { | 425 float device_scale_factor) { |
| 417 } | 426 } |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 748 DesktopRootWindowHost* DesktopRootWindowHost::Create( |
| 740 internal::NativeWidgetDelegate* native_widget_delegate, | 749 internal::NativeWidgetDelegate* native_widget_delegate, |
| 741 DesktopNativeWidgetAura* desktop_native_widget_aura, | 750 DesktopNativeWidgetAura* desktop_native_widget_aura, |
| 742 const gfx::Rect& initial_bounds) { | 751 const gfx::Rect& initial_bounds) { |
| 743 return new DesktopRootWindowHostWin(native_widget_delegate, | 752 return new DesktopRootWindowHostWin(native_widget_delegate, |
| 744 desktop_native_widget_aura, | 753 desktop_native_widget_aura, |
| 745 initial_bounds); | 754 initial_bounds); |
| 746 } | 755 } |
| 747 | 756 |
| 748 } // namespace views | 757 } // namespace views |
| OLD | NEW |