summaryrefslogtreecommitdiffstats
path: root/views/controls/native_control_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/native_control_win.h')
-rw-r--r--views/controls/native_control_win.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/controls/native_control_win.h b/views/controls/native_control_win.h
index 8b446b5..5d7e949 100644
--- a/views/controls/native_control_win.h
+++ b/views/controls/native_control_win.h
@@ -44,7 +44,7 @@ class NativeControlWin : public ChildWindowMessageProcessor,
virtual void VisibilityChanged(View* starting_from, bool is_visible);
virtual void OnFocus();
- // Called by the containing WidgetWin when a WM_CONTEXTMENU message is
+ // Called by the containing NativeWidgetWin when a WM_CONTEXTMENU message is
// received from the HWND created by an object derived from NativeControlWin.
virtual void ShowContextMenu(const gfx::Point& location);
@@ -75,9 +75,9 @@ class NativeControlWin : public ChildWindowMessageProcessor,
private:
typedef ScopedVector<ui::ViewProp> ViewProps;
- // Called by the containing WidgetWin when a message of type WM_CTLCOLORBTN or
- // WM_CTLCOLORSTATIC is sent from the HWND created by an object dreived from
- // NativeControlWin.
+ // Called by the containing NativeWidgetWin when a message of type
+ // WM_CTLCOLORBTN or WM_CTLCOLORSTATIC is sent from the HWND created by an
+ // object derived from NativeControlWin.
LRESULT GetControlColor(UINT message, HDC dc, HWND sender);
// Our subclass window procedure for the attached control.