| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 373 |
| 374 void DesktopWindowTreeHostWin::SetAlwaysOnTop(bool always_on_top) { | 374 void DesktopWindowTreeHostWin::SetAlwaysOnTop(bool always_on_top) { |
| 375 message_handler_->SetAlwaysOnTop(always_on_top); | 375 message_handler_->SetAlwaysOnTop(always_on_top); |
| 376 } | 376 } |
| 377 | 377 |
| 378 bool DesktopWindowTreeHostWin::IsAlwaysOnTop() const { | 378 bool DesktopWindowTreeHostWin::IsAlwaysOnTop() const { |
| 379 return message_handler_->IsAlwaysOnTop(); | 379 return message_handler_->IsAlwaysOnTop(); |
| 380 } | 380 } |
| 381 | 381 |
| 382 void DesktopWindowTreeHostWin::SetVisibleOnAllWorkspaces(bool always_visible) { | 382 void DesktopWindowTreeHostWin::SetVisibleOnAllWorkspaces(bool always_visible) { |
| 383 // Windows does not have the concept of workspaces. | 383 // Chrome does not yet support Windows 10 desktops. |
| 384 } |
| 385 |
| 386 bool DesktopWindowTreeHostWin::IsVisibleOnAllWorkspaces() const { |
| 387 return false; |
| 384 } | 388 } |
| 385 | 389 |
| 386 bool DesktopWindowTreeHostWin::SetWindowTitle(const base::string16& title) { | 390 bool DesktopWindowTreeHostWin::SetWindowTitle(const base::string16& title) { |
| 387 return message_handler_->SetTitle(title); | 391 return message_handler_->SetTitle(title); |
| 388 } | 392 } |
| 389 | 393 |
| 390 void DesktopWindowTreeHostWin::ClearNativeFocus() { | 394 void DesktopWindowTreeHostWin::ClearNativeFocus() { |
| 391 message_handler_->ClearNativeFocus(); | 395 message_handler_->ClearNativeFocus(); |
| 392 } | 396 } |
| 393 | 397 |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 | 997 |
| 994 // static | 998 // static |
| 995 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( | 999 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( |
| 996 internal::NativeWidgetDelegate* native_widget_delegate, | 1000 internal::NativeWidgetDelegate* native_widget_delegate, |
| 997 DesktopNativeWidgetAura* desktop_native_widget_aura) { | 1001 DesktopNativeWidgetAura* desktop_native_widget_aura) { |
| 998 return new DesktopWindowTreeHostWin(native_widget_delegate, | 1002 return new DesktopWindowTreeHostWin(native_widget_delegate, |
| 999 desktop_native_widget_aura); | 1003 desktop_native_widget_aura); |
| 1000 } | 1004 } |
| 1001 | 1005 |
| 1002 } // namespace views | 1006 } // namespace views |
| OLD | NEW |