summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 17:34:22 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 17:34:22 +0000
commit1c8722a5236242e014eb2c03dac103ef35b7f223 (patch)
tree1e93f9ae413f90720a4a04accfaf0c0167f116c8 /chrome
parent258165698585817008309c758dcc401a49dd9cb0 (diff)
downloadchromium_src-1c8722a5236242e014eb2c03dac103ef35b7f223.zip
chromium_src-1c8722a5236242e014eb2c03dac103ef35b7f223.tar.gz
chromium_src-1c8722a5236242e014eb2c03dac103ef35b7f223.tar.bz2
Replaced IsOnlyLeftMouseButton() with IsLeftMouseButton() in PanelController::TitleMousePressed.
http://code.google.com/p/chromium-os/issues/detail?id=4255 BUG=chromium-os:4255 TEST=See Issue for repro Review URL: http://codereview.chromium.org/2834037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/chromeos/frame/panel_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/frame/panel_controller.cc b/chrome/browser/chromeos/frame/panel_controller.cc
index 4cfcea1..4eafa12 100644
--- a/chrome/browser/chromeos/frame/panel_controller.cc
+++ b/chrome/browser/chromeos/frame/panel_controller.cc
@@ -164,7 +164,7 @@ bool PanelController::TitleMousePressed(const views::MouseEvent& event) {
void PanelController::TitleMouseReleased(
const views::MouseEvent& event, bool canceled) {
- if (!event.IsOnlyLeftMouseButton()) {
+ if (!event.IsLeftMouseButton()) {
return;
}
// Only handle clicks that started in our window.