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

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

Issue 196573023: Remove PrepareForShutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 default: 896 default:
897 break; 897 break;
898 } 898 }
899 XSendEvent(xdisplay_, xwindow_, False, 0, &xevent); 899 XSendEvent(xdisplay_, xwindow_, False, 0, &xevent);
900 } 900 }
901 901
902 void DesktopWindowTreeHostX11::OnDeviceScaleFactorChanged( 902 void DesktopWindowTreeHostX11::OnDeviceScaleFactorChanged(
903 float device_scale_factor) { 903 float device_scale_factor) {
904 } 904 }
905 905
906 void DesktopWindowTreeHostX11::PrepareForShutdown() {
907 }
908
909 //////////////////////////////////////////////////////////////////////////////// 906 ////////////////////////////////////////////////////////////////////////////////
910 // DesktopWindowTreeHostX11, ui::EventSource implementation: 907 // DesktopWindowTreeHostX11, ui::EventSource implementation:
911 908
912 ui::EventProcessor* DesktopWindowTreeHostX11::GetEventProcessor() { 909 ui::EventProcessor* DesktopWindowTreeHostX11::GetEventProcessor() {
913 return dispatcher(); 910 return dispatcher();
914 } 911 }
915 912
916 //////////////////////////////////////////////////////////////////////////////// 913 ////////////////////////////////////////////////////////////////////////////////
917 // DesktopWindowTreeHostX11, private: 914 // DesktopWindowTreeHostX11, private:
918 915
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 if (linux_ui) { 1589 if (linux_ui) {
1593 ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(); 1590 ui::NativeTheme* native_theme = linux_ui->GetNativeTheme();
1594 if (native_theme) 1591 if (native_theme)
1595 return native_theme; 1592 return native_theme;
1596 } 1593 }
1597 1594
1598 return ui::NativeTheme::instance(); 1595 return ui::NativeTheme::instance();
1599 } 1596 }
1600 1597
1601 } // namespace views 1598 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698