diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 23:34:07 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 23:34:07 +0000 |
commit | e9adf0702e30800cdfaebce8cfacff7b444b4e79 (patch) | |
tree | 49d8ab8fa6e0090c6dd7bbe667008f07e5939af0 /views/controls/menu/menu_controller.h | |
parent | ae5f56fed71e801889db8f0f7ebd2f21d6612521 (diff) | |
download | chromium_src-e9adf0702e30800cdfaebce8cfacff7b444b4e79.zip chromium_src-e9adf0702e30800cdfaebce8cfacff7b444b4e79.tar.gz chromium_src-e9adf0702e30800cdfaebce8cfacff7b444b4e79.tar.bz2 |
Replace lots of "int x, int y" with gfx::Point. Also use gfx::Size and gfx::Rect in a few more places.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/669130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/menu_controller.h')
-rw-r--r-- | views/controls/menu/menu_controller.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/views/controls/menu/menu_controller.h b/views/controls/menu/menu_controller.h index c92f4b9..f8a459a 100644 --- a/views/controls/menu/menu_controller.h +++ b/views/controls/menu/menu_controller.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -386,14 +386,12 @@ class MenuController : public MessageLoopForUI::Dispatcher { bool possible_drag_; // Location the mouse was pressed at. Used to detect d&d. - int press_x_; - int press_y_; + gfx::Point press_pt_; // We get a slew of drag updated messages as the mouse is over us. To avoid // continually processing whether we can drop, we cache the coordinates. bool valid_drop_coordinates_; - int drop_x_; - int drop_y_; + gfx::Point drop_pt_; int last_drop_operation_; // If true, we're in the middle of invoking ShowAt on a submenu. |