| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "apps/ui/views/native_app_window_views.h" | 5 #include "components/native_app_window/native_app_window_views.h" |
| 6 | 6 |
| 7 #include "base/threading/sequenced_worker_pool.h" | 7 #include "base/threading/sequenced_worker_pool.h" |
| 8 #include "content/public/browser/render_view_host.h" | 8 #include "content/public/browser/render_view_host.h" |
| 9 #include "content/public/browser/render_widget_host_view.h" | 9 #include "content/public/browser/render_widget_host_view.h" |
| 10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
| 11 #include "extensions/browser/app_window/app_window.h" | 11 #include "extensions/browser/app_window/app_window.h" |
| 12 #include "extensions/common/draggable_region.h" | 12 #include "extensions/common/draggable_region.h" |
| 13 #include "third_party/skia/include/core/SkRegion.h" | 13 #include "third_party/skia/include/core/SkRegion.h" |
| 14 #include "ui/gfx/path.h" | 14 #include "ui/gfx/path.h" |
| 15 #include "ui/views/controls/webview/webview.h" | 15 #include "ui/views/controls/webview/webview.h" |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 | 401 |
| 402 bool NativeAppWindowViews::CanHaveAlphaEnabled() const { | 402 bool NativeAppWindowViews::CanHaveAlphaEnabled() const { |
| 403 return widget_->IsTranslucentWindowOpacitySupported(); | 403 return widget_->IsTranslucentWindowOpacitySupported(); |
| 404 } | 404 } |
| 405 | 405 |
| 406 void NativeAppWindowViews::SetVisibleOnAllWorkspaces(bool always_visible) { | 406 void NativeAppWindowViews::SetVisibleOnAllWorkspaces(bool always_visible) { |
| 407 widget_->SetVisibleOnAllWorkspaces(always_visible); | 407 widget_->SetVisibleOnAllWorkspaces(always_visible); |
| 408 } | 408 } |
| 409 | 409 |
| 410 } // namespace apps | 410 } // namespace apps |
| OLD | NEW |