summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views')
-rw-r--r--chrome/views/controls/hwnd_view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/views/controls/hwnd_view.h b/chrome/views/controls/hwnd_view.h
index d39fc2a..4667212 100644
--- a/chrome/views/controls/hwnd_view.h
+++ b/chrome/views/controls/hwnd_view.h
@@ -33,6 +33,9 @@ class HWNDView : public View {
// Attach a window handle to this View, making the window it represents
// subject to sizing according to this View's parent container's Layout
// Manager's sizing heuristics.
+ //
+ // This object should be added to the view hierarchy before calling this
+ // function, which will expect the parent to be valid.
void Attach(HWND hwnd);
// Detach the attached window handle. It will no longer be updated