diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-10 00:05:34 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-10 00:05:34 +0000 |
commit | 5ef3a96c126beb9b514afeb7033cb911e2f9bcca (patch) | |
tree | 37c07846a453baa67fbd3c9d47b7052a089cfed9 /ui/views/view.h | |
parent | 609dc3f34bd5caad7c8e03c2afa3e018e0cfc6ab (diff) | |
download | chromium_src-5ef3a96c126beb9b514afeb7033cb911e2f9bcca.zip chromium_src-5ef3a96c126beb9b514afeb7033cb911e2f9bcca.tar.gz chromium_src-5ef3a96c126beb9b514afeb7033cb911e2f9bcca.tar.bz2 |
Makes TreeViewViews only notify ContextMenuController if a node is
selected (matches TreeViewWin).
BUG=109141
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/9148008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116962 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/view.h')
-rw-r--r-- | ui/views/view.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/views/view.h b/ui/views/view.h index 9895297..5f0d55c 100644 --- a/ui/views/view.h +++ b/ui/views/view.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -758,8 +758,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, // to provide right-click menu display triggerd by the keyboard (i.e. for the // Chrome toolbar Back and Forward buttons). No source needs to be specified, // as it is always equal to the current View. - virtual void ShowContextMenu(const gfx::Point& p, - bool is_mouse_gesture); + virtual void ShowContextMenu(const gfx::Point& p, bool is_mouse_gesture); // Drag and drop ------------------------------------------------------------- |