summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/view_menu_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/view_menu_delegate.h')
-rw-r--r--views/controls/menu/view_menu_delegate.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/controls/menu/view_menu_delegate.h b/views/controls/menu/view_menu_delegate.h
index bb72ed3..3d6887b 100644
--- a/views/controls/menu/view_menu_delegate.h
+++ b/views/controls/menu/view_menu_delegate.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2009 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.
@@ -7,6 +7,10 @@
#include "base/gfx/native_widget_types.h"
+namespace gfx {
+class Point;
+}
+
namespace views {
class View;
@@ -25,7 +29,7 @@ class ViewMenuDelegate {
// Create and show a menu at the specified position. Source is the view the
// ViewMenuDelegate was set on.
virtual void RunMenu(View* source,
- const CPoint& pt,
+ const gfx::Point& pt,
gfx::NativeView hwnd) = 0;
};