Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc

Issue 412033002: Merge 284026 "Add app.window.alphaEnabled() and onAlphaEnabledCh..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_x11.h" 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h"
6 6
7 #include <X11/extensions/shape.h> 7 #include <X11/extensions/shape.h>
8 #include <X11/extensions/XInput2.h> 8 #include <X11/extensions/XInput2.h>
9 #include <X11/Xatom.h> 9 #include <X11/Xatom.h>
10 #include <X11/Xregion.h> 10 #include <X11/Xregion.h>
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 if (xwindow_) { 824 if (xwindow_) {
825 x11_capture_.reset(); 825 x11_capture_.reset();
826 native_widget_delegate_->AsWidget()->GetInputMethod()->OnBlur(); 826 native_widget_delegate_->AsWidget()->GetInputMethod()->OnBlur();
827 } 827 }
828 } 828 }
829 829
830 bool DesktopWindowTreeHostX11::IsAnimatingClosed() const { 830 bool DesktopWindowTreeHostX11::IsAnimatingClosed() const {
831 return false; 831 return false;
832 } 832 }
833 833
834 bool DesktopWindowTreeHostX11::IsTranslucentWindowOpacitySupported() const {
835 return false;
836 }
837
834 //////////////////////////////////////////////////////////////////////////////// 838 ////////////////////////////////////////////////////////////////////////////////
835 // DesktopWindowTreeHostX11, aura::WindowTreeHost implementation: 839 // DesktopWindowTreeHostX11, aura::WindowTreeHost implementation:
836 840
837 ui::EventSource* DesktopWindowTreeHostX11::GetEventSource() { 841 ui::EventSource* DesktopWindowTreeHostX11::GetEventSource() {
838 return this; 842 return this;
839 } 843 }
840 844
841 gfx::AcceleratedWidget DesktopWindowTreeHostX11::GetAcceleratedWidget() { 845 gfx::AcceleratedWidget DesktopWindowTreeHostX11::GetAcceleratedWidget() {
842 return xwindow_; 846 return xwindow_;
843 } 847 }
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1812 if (linux_ui) { 1816 if (linux_ui) {
1813 ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(window); 1817 ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(window);
1814 if (native_theme) 1818 if (native_theme)
1815 return native_theme; 1819 return native_theme;
1816 } 1820 }
1817 1821
1818 return ui::NativeTheme::instance(); 1822 return ui::NativeTheme::instance();
1819 } 1823 }
1820 1824
1821 } // namespace views 1825 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h ('k') | ui/views/widget/native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698