diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-13 18:22:22 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-13 18:22:22 +0000 |
commit | 2c379870fc171cfa718142cdc8fe7e308b0e0b37 (patch) | |
tree | dfb8ae13ea0f2ab8dff4a3db5e78d71619378471 /chrome/views | |
parent | 14c0a03a516a1904225068e135e30769f2b36cb4 (diff) | |
download | chromium_src-2c379870fc171cfa718142cdc8fe7e308b0e0b37.zip chromium_src-2c379870fc171cfa718142cdc8fe7e308b0e0b37.tar.gz chromium_src-2c379870fc171cfa718142cdc8fe7e308b0e0b37.tar.bz2 |
Add a comment to the hwnd view about proper usage. I was using it incorrectly
in when trying to do some ui demos.
Add a hook for the frame window test I'm doing.
Review URL: http://codereview.chromium.org/58013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r-- | chrome/views/controls/hwnd_view.h | 3 |
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 |