summaryrefslogtreecommitdiffstats
path: root/views/controls/native_control.h
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/native_control.h
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/native_control.h')
-rw-r--r--views/controls/native_control.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/controls/native_control.h b/views/controls/native_control.h
index 0f68fe1..972ef36 100644
--- a/views/controls/native_control.h
+++ b/views/controls/native_control.h
@@ -9,10 +9,6 @@
#include "views/view.h"
-namespace WTL {
-class CPoint;
-}
-
namespace views {
class NativeViewHost;
@@ -57,7 +53,7 @@ class NativeControl : public View {
virtual LRESULT OnCommand(UINT code, int id, HWND source) { return 0; }
// Invoked when the appropriate gesture for a context menu is issued.
- virtual void OnContextMenu(const WTL::CPoint& location);
+ virtual void OnContextMenu(const POINT& location);
// Overridden so to set the native focus to the native control.
virtual void Focus();