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

Unified Diff: ui/views/widget/desktop_root_window_host_linux.cc

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more vector use fixes Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_root_window_host_linux.cc
diff --git a/ui/views/widget/desktop_root_window_host_linux.cc b/ui/views/widget/desktop_root_window_host_linux.cc
index c135f6a3e9b580c04cb3c6e6c9a7570b2162a793..3a38991857936a241567ec52bfd6906a3f1cb44f 100644
--- a/ui/views/widget/desktop_root_window_host_linux.cc
+++ b/ui/views/widget/desktop_root_window_host_linux.cc
@@ -525,7 +525,7 @@ void DesktopRootWindowHostLinux::ClearNativeFocus() {
}
Widget::MoveLoopResult DesktopRootWindowHostLinux::RunMoveLoop(
- const gfx::Point& drag_offset) {
+ const gfx::Vector2d& drag_offset) {
SetCapture();
if (x11_window_move_client_->RunMoveLoop(content_window_, drag_offset) ==

Powered by Google App Engine
This is Rietveld 408576698