| 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_window_tree_host_win.h" | 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 } | 459 } |
| 460 | 460 |
| 461 void DesktopWindowTreeHostWin::InitModalType(ui::ModalType modal_type) { | 461 void DesktopWindowTreeHostWin::InitModalType(ui::ModalType modal_type) { |
| 462 message_handler_->InitModalType(modal_type); | 462 message_handler_->InitModalType(modal_type); |
| 463 } | 463 } |
| 464 | 464 |
| 465 void DesktopWindowTreeHostWin::FlashFrame(bool flash_frame) { | 465 void DesktopWindowTreeHostWin::FlashFrame(bool flash_frame) { |
| 466 message_handler_->FlashFrame(flash_frame); | 466 message_handler_->FlashFrame(flash_frame); |
| 467 } | 467 } |
| 468 | 468 |
| 469 void DesktopWindowTreeHostWin::OnRootViewLayout() { | |
| 470 } | |
| 471 | |
| 472 bool DesktopWindowTreeHostWin::IsAnimatingClosed() const { | 469 bool DesktopWindowTreeHostWin::IsAnimatingClosed() const { |
| 473 return pending_close_; | 470 return pending_close_; |
| 474 } | 471 } |
| 475 | 472 |
| 476 bool DesktopWindowTreeHostWin::IsTranslucentWindowOpacitySupported() const { | 473 bool DesktopWindowTreeHostWin::IsTranslucentWindowOpacitySupported() const { |
| 477 return ui::win::IsAeroGlassEnabled(); | 474 return ui::win::IsAeroGlassEnabled(); |
| 478 } | 475 } |
| 479 | 476 |
| 480 void DesktopWindowTreeHostWin::SizeConstraintsChanged() { | 477 void DesktopWindowTreeHostWin::SizeConstraintsChanged() { |
| 481 message_handler_->SizeConstraintsChanged(); | 478 message_handler_->SizeConstraintsChanged(); |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 990 | 987 |
| 991 // static | 988 // static |
| 992 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( | 989 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( |
| 993 internal::NativeWidgetDelegate* native_widget_delegate, | 990 internal::NativeWidgetDelegate* native_widget_delegate, |
| 994 DesktopNativeWidgetAura* desktop_native_widget_aura) { | 991 DesktopNativeWidgetAura* desktop_native_widget_aura) { |
| 995 return new DesktopWindowTreeHostWin(native_widget_delegate, | 992 return new DesktopWindowTreeHostWin(native_widget_delegate, |
| 996 desktop_native_widget_aura); | 993 desktop_native_widget_aura); |
| 997 } | 994 } |
| 998 | 995 |
| 999 } // namespace views | 996 } // namespace views |
| OLD | NEW |