summaryrefslogtreecommitdiffstats
path: root/views/controls/tree
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 20:51:10 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 20:51:10 +0000
commitd78f40f3543cd057d845625d1abce9cd79b0682c (patch)
tree3d5a0aec91ab97eb48afd2de6df7363522715640 /views/controls/tree
parent1c977ab1081a4891419e40d6e4b1615c6e2583fb (diff)
downloadchromium_src-d78f40f3543cd057d845625d1abce9cd79b0682c.zip
chromium_src-d78f40f3543cd057d845625d1abce9cd79b0682c.tar.gz
chromium_src-d78f40f3543cd057d845625d1abce9cd79b0682c.tar.bz2
Uses POINT instead of CPoint to reduce the dependency in ATL.
Patch submitted by Thiago Farina: http://codereview.chromium.org/188017 BUG= http://crbug.com/2185 TEST=None Review URL: http://codereview.chromium.org/199009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/tree')
-rw-r--r--views/controls/tree/tree_view.cc2
-rw-r--r--views/controls/tree/tree_view.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/tree/tree_view.cc b/views/controls/tree/tree_view.cc
index 5a2fb42..731b955 100644
--- a/views/controls/tree/tree_view.cc
+++ b/views/controls/tree/tree_view.cc
@@ -481,7 +481,7 @@ bool TreeView::OnKeyDown(int virtual_key_code) {
return false;
}
-void TreeView::OnContextMenu(const WTL::CPoint& location) {
+void TreeView::OnContextMenu(const POINT& location) {
if (!GetContextMenuController())
return;
diff --git a/views/controls/tree/tree_view.h b/views/controls/tree/tree_view.h
index e3427d0..72667bf 100644
--- a/views/controls/tree/tree_view.h
+++ b/views/controls/tree/tree_view.h
@@ -161,7 +161,7 @@ class TreeView : public NativeControl, TreeModelObserver {
// start editting.
virtual bool OnKeyDown(int virtual_key_code);
- virtual void OnContextMenu(const WTL::CPoint& location);
+ virtual void OnContextMenu(const POINT& location);
// Returns the TreeModelNode for |tree_item|.
TreeModelNode* GetNodeForTreeItem(HTREEITEM tree_item);