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

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

Issue 11412315: Make the cursor have separate mode for disabled mouse events and invisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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_win.h" 5 #include "ui/views/widget/desktop_aura/desktop_root_window_host_win.h"
6 6
7 #include "third_party/skia/include/core/SkPath.h" 7 #include "third_party/skia/include/core/SkPath.h"
8 #include "third_party/skia/include/core/SkRegion.h" 8 #include "third_party/skia/include/core/SkRegion.h"
9 #include "ui/aura/client/aura_constants.h" 9 #include "ui/aura/client/aura_constants.h"
10 #include "ui/aura/client/default_capture_client.h" 10 #include "ui/aura/client/default_capture_client.h"
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 return false; 400 return false;
401 } 401 }
402 402
403 bool DesktopRootWindowHostWin::ConfineCursorToRootWindow() { 403 bool DesktopRootWindowHostWin::ConfineCursorToRootWindow() {
404 return false; 404 return false;
405 } 405 }
406 406
407 void DesktopRootWindowHostWin::UnConfineCursor() { 407 void DesktopRootWindowHostWin::UnConfineCursor() {
408 } 408 }
409 409
410 void DesktopRootWindowHostWin::OnCursorVisibilityChanged(bool show) { 410 void DesktopRootWindowHostWin::OnCursorEnableStateChanged(bool enabled) {
411 } 411 }
412 412
413 void DesktopRootWindowHostWin::MoveCursorTo(const gfx::Point& location) { 413 void DesktopRootWindowHostWin::MoveCursorTo(const gfx::Point& location) {
414 } 414 }
415 415
416 void DesktopRootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) { 416 void DesktopRootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) {
417 } 417 }
418 418
419 bool DesktopRootWindowHostWin::CopyAreaToSkCanvas( 419 bool DesktopRootWindowHostWin::CopyAreaToSkCanvas(
420 const gfx::Rect& source_bounds, 420 const gfx::Rect& source_bounds,
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 DesktopRootWindowHost* DesktopRootWindowHost::Create( 764 DesktopRootWindowHost* DesktopRootWindowHost::Create(
765 internal::NativeWidgetDelegate* native_widget_delegate, 765 internal::NativeWidgetDelegate* native_widget_delegate,
766 DesktopNativeWidgetAura* desktop_native_widget_aura, 766 DesktopNativeWidgetAura* desktop_native_widget_aura,
767 const gfx::Rect& initial_bounds) { 767 const gfx::Rect& initial_bounds) {
768 return new DesktopRootWindowHostWin(native_widget_delegate, 768 return new DesktopRootWindowHostWin(native_widget_delegate,
769 desktop_native_widget_aura, 769 desktop_native_widget_aura,
770 initial_bounds); 770 initial_bounds);
771 } 771 }
772 772
773 } // namespace views 773 } // namespace views
OLDNEW
« ui/aura/client/cursor_client.h ('K') | « ui/views/widget/desktop_aura/desktop_root_window_host_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698