| 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 "base/win/metro.h" | 7 #include "base/win/metro.h" |
| 8 #include "third_party/skia/include/core/SkPath.h" | 8 #include "third_party/skia/include/core/SkPath.h" |
| 9 #include "third_party/skia/include/core/SkRegion.h" | 9 #include "third_party/skia/include/core/SkRegion.h" |
| 10 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 } | 300 } |
| 301 | 301 |
| 302 bool DesktopRootWindowHostWin::HasCapture() const { | 302 bool DesktopRootWindowHostWin::HasCapture() const { |
| 303 return message_handler_->HasCapture(); | 303 return message_handler_->HasCapture(); |
| 304 } | 304 } |
| 305 | 305 |
| 306 void DesktopRootWindowHostWin::SetAlwaysOnTop(bool always_on_top) { | 306 void DesktopRootWindowHostWin::SetAlwaysOnTop(bool always_on_top) { |
| 307 message_handler_->SetAlwaysOnTop(always_on_top); | 307 message_handler_->SetAlwaysOnTop(always_on_top); |
| 308 } | 308 } |
| 309 | 309 |
| 310 bool DesktopRootWindowHostWin::IsAlwaysOnTop() const { |
| 311 return message_handler_->IsAlwaysOnTop(); |
| 312 } |
| 313 |
| 310 void DesktopRootWindowHostWin::SetWindowTitle(const string16& title) { | 314 void DesktopRootWindowHostWin::SetWindowTitle(const string16& title) { |
| 311 message_handler_->SetTitle(title); | 315 message_handler_->SetTitle(title); |
| 312 } | 316 } |
| 313 | 317 |
| 314 void DesktopRootWindowHostWin::ClearNativeFocus() { | 318 void DesktopRootWindowHostWin::ClearNativeFocus() { |
| 315 message_handler_->ClearNativeFocus(); | 319 message_handler_->ClearNativeFocus(); |
| 316 } | 320 } |
| 317 | 321 |
| 318 Widget::MoveLoopResult DesktopRootWindowHostWin::RunMoveLoop( | 322 Widget::MoveLoopResult DesktopRootWindowHostWin::RunMoveLoop( |
| 319 const gfx::Vector2d& drag_offset, | 323 const gfx::Vector2d& drag_offset, |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 890 DesktopRootWindowHost* DesktopRootWindowHost::Create( |
| 887 internal::NativeWidgetDelegate* native_widget_delegate, | 891 internal::NativeWidgetDelegate* native_widget_delegate, |
| 888 DesktopNativeWidgetAura* desktop_native_widget_aura, | 892 DesktopNativeWidgetAura* desktop_native_widget_aura, |
| 889 const gfx::Rect& initial_bounds) { | 893 const gfx::Rect& initial_bounds) { |
| 890 return new DesktopRootWindowHostWin(native_widget_delegate, | 894 return new DesktopRootWindowHostWin(native_widget_delegate, |
| 891 desktop_native_widget_aura, | 895 desktop_native_widget_aura, |
| 892 initial_bounds); | 896 initial_bounds); |
| 893 } | 897 } |
| 894 | 898 |
| 895 } // namespace views | 899 } // namespace views |
| OLD | NEW |