| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 } | 327 } |
| 328 | 328 |
| 329 void DesktopRootWindowHostWin::SetAlwaysOnTop(bool always_on_top) { | 329 void DesktopRootWindowHostWin::SetAlwaysOnTop(bool always_on_top) { |
| 330 message_handler_->SetAlwaysOnTop(always_on_top); | 330 message_handler_->SetAlwaysOnTop(always_on_top); |
| 331 } | 331 } |
| 332 | 332 |
| 333 bool DesktopRootWindowHostWin::IsAlwaysOnTop() const { | 333 bool DesktopRootWindowHostWin::IsAlwaysOnTop() const { |
| 334 return message_handler_->IsAlwaysOnTop(); | 334 return message_handler_->IsAlwaysOnTop(); |
| 335 } | 335 } |
| 336 | 336 |
| 337 bool DesktopRootWindowHostWin::SetWindowTitle(const string16& title) { | 337 bool DesktopRootWindowHostWin::SetWindowTitle(const base::string16& title) { |
| 338 return message_handler_->SetTitle(title); | 338 return message_handler_->SetTitle(title); |
| 339 } | 339 } |
| 340 | 340 |
| 341 void DesktopRootWindowHostWin::ClearNativeFocus() { | 341 void DesktopRootWindowHostWin::ClearNativeFocus() { |
| 342 message_handler_->ClearNativeFocus(); | 342 message_handler_->ClearNativeFocus(); |
| 343 } | 343 } |
| 344 | 344 |
| 345 Widget::MoveLoopResult DesktopRootWindowHostWin::RunMoveLoop( | 345 Widget::MoveLoopResult DesktopRootWindowHostWin::RunMoveLoop( |
| 346 const gfx::Vector2d& drag_offset, | 346 const gfx::Vector2d& drag_offset, |
| 347 Widget::MoveLoopSource source, | 347 Widget::MoveLoopSource source, |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 | 972 |
| 973 // static | 973 // static |
| 974 DesktopRootWindowHost* DesktopRootWindowHost::Create( | 974 DesktopRootWindowHost* DesktopRootWindowHost::Create( |
| 975 internal::NativeWidgetDelegate* native_widget_delegate, | 975 internal::NativeWidgetDelegate* native_widget_delegate, |
| 976 DesktopNativeWidgetAura* desktop_native_widget_aura) { | 976 DesktopNativeWidgetAura* desktop_native_widget_aura) { |
| 977 return new DesktopRootWindowHostWin(native_widget_delegate, | 977 return new DesktopRootWindowHostWin(native_widget_delegate, |
| 978 desktop_native_widget_aura); | 978 desktop_native_widget_aura); |
| 979 } | 979 } |
| 980 | 980 |
| 981 } // namespace views | 981 } // namespace views |
| OLD | NEW |