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

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

Issue 12263050: Rework ash::CursorManager into a corewm object, to share code with desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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_root_window_host_linux.h" 5 #include "ui/views/widget/desktop_aura/desktop_root_window_host_linux.h"
6 6
7 #include <X11/extensions/XInput2.h> 7 #include <X11/extensions/XInput2.h>
8 #include <X11/Xatom.h> 8 #include <X11/Xatom.h>
9 #include <X11/Xutil.h> 9 #include <X11/Xutil.h>
10 10
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 bool DesktopRootWindowHostLinux::ConfineCursorToRootWindow() { 779 bool DesktopRootWindowHostLinux::ConfineCursorToRootWindow() {
780 NOTIMPLEMENTED(); 780 NOTIMPLEMENTED();
781 return false; 781 return false;
782 } 782 }
783 783
784 void DesktopRootWindowHostLinux::UnConfineCursor() { 784 void DesktopRootWindowHostLinux::UnConfineCursor() {
785 NOTIMPLEMENTED(); 785 NOTIMPLEMENTED();
786 } 786 }
787 787
788 void DesktopRootWindowHostLinux::OnCursorVisibilityChanged(bool show) { 788 void DesktopRootWindowHostLinux::OnCursorVisibilityChanged(bool show) {
789 NOTIMPLEMENTED();
790 } 789 }
791 790
792 void DesktopRootWindowHostLinux::MoveCursorTo(const gfx::Point& location) { 791 void DesktopRootWindowHostLinux::MoveCursorTo(const gfx::Point& location) {
793 NOTIMPLEMENTED(); 792 NOTIMPLEMENTED();
794 } 793 }
795 794
796 void DesktopRootWindowHostLinux::SetFocusWhenShown(bool focus_when_shown) { 795 void DesktopRootWindowHostLinux::SetFocusWhenShown(bool focus_when_shown) {
797 static const char* k_NET_WM_USER_TIME = "_NET_WM_USER_TIME"; 796 static const char* k_NET_WM_USER_TIME = "_NET_WM_USER_TIME";
798 focus_when_shown_ = focus_when_shown; 797 focus_when_shown_ = focus_when_shown;
799 if (IsWindowManagerPresent() && !focus_when_shown_) { 798 if (IsWindowManagerPresent() && !focus_when_shown_) {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 DesktopRootWindowHost* DesktopRootWindowHost::Create( 1095 DesktopRootWindowHost* DesktopRootWindowHost::Create(
1097 internal::NativeWidgetDelegate* native_widget_delegate, 1096 internal::NativeWidgetDelegate* native_widget_delegate,
1098 DesktopNativeWidgetAura* desktop_native_widget_aura, 1097 DesktopNativeWidgetAura* desktop_native_widget_aura,
1099 const gfx::Rect& initial_bounds) { 1098 const gfx::Rect& initial_bounds) {
1100 return new DesktopRootWindowHostLinux(native_widget_delegate, 1099 return new DesktopRootWindowHostLinux(native_widget_delegate,
1101 desktop_native_widget_aura, 1100 desktop_native_widget_aura,
1102 initial_bounds); 1101 initial_bounds);
1103 } 1102 }
1104 1103
1105 } // namespace views 1104 } // namespace views
OLDNEW
« ui/views/corewm/cursor_controller.h ('K') | « ui/views/widget/desktop_aura/desktop_cursor_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698