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

Side by Side Diff: ui/ozone/platform/caca/caca_window.cc

Issue 873563002: [Ozone] Constrain the cursor when overscan insets are set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ui/ozone/platform/caca/caca_window.h ('k') | ui/ozone/platform/dri/dri_cursor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ui/ozone/platform/caca/caca_window.h" 5 #include "ui/ozone/platform/caca/caca_window.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 void CacaWindow::Maximize() {} 127 void CacaWindow::Maximize() {}
128 128
129 void CacaWindow::Minimize() {} 129 void CacaWindow::Minimize() {}
130 130
131 void CacaWindow::Restore() {} 131 void CacaWindow::Restore() {}
132 132
133 void CacaWindow::SetCursor(PlatformCursor cursor) {} 133 void CacaWindow::SetCursor(PlatformCursor cursor) {}
134 134
135 void CacaWindow::MoveCursorTo(const gfx::Point& location) {} 135 void CacaWindow::MoveCursorTo(const gfx::Point& location) {}
136 136
137 void CacaWindow::ConfineCursorToBounds(const gfx::Rect& bounds) {}
138
137 bool CacaWindow::CanDispatchEvent(const PlatformEvent& event) { return true; } 139 bool CacaWindow::CanDispatchEvent(const PlatformEvent& event) { return true; }
138 140
139 uint32_t CacaWindow::DispatchEvent(const PlatformEvent& ne) { 141 uint32_t CacaWindow::DispatchEvent(const PlatformEvent& ne) {
140 // We don't dispatch events via PlatformEventSource. 142 // We don't dispatch events via PlatformEventSource.
141 NOTREACHED(); 143 NOTREACHED();
142 return ui::POST_DISPATCH_STOP_PROPAGATION; 144 return ui::POST_DISPATCH_STOP_PROPAGATION;
143 } 145 }
144 146
145 } // namespace ui 147 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/caca/caca_window.h ('k') | ui/ozone/platform/dri/dri_cursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698