diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 17:47:43 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 17:47:43 +0000 |
commit | 68c477df6917633a7a9c64f8624446ca0bd895d5 (patch) | |
tree | a270354aa75de9516ba5b150568bb1d142b24b1c /views/view.h | |
parent | 8a9c6c3401524c0a4b5d37d65335e9124885305a (diff) | |
download | chromium_src-68c477df6917633a7a9c64f8624446ca0bd895d5.zip chromium_src-68c477df6917633a7a9c64f8624446ca0bd895d5.tar.gz chromium_src-68c477df6917633a7a9c64f8624446ca0bd895d5.tar.bz2 |
Move more from Window onto Widget.
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/7054052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view.h')
-rw-r--r-- | views/view.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/views/view.h b/views/view.h index 0f87437..caf0ea7 100644 --- a/views/view.h +++ b/views/view.h @@ -222,14 +222,6 @@ class View : public AcceleratorTarget { // Returns the index of |view|, or -1 if |view| is not a child of this view. int GetIndexOf(const View* view) const; - // TODO(beng): REMOVE (Views need not know about Window). - // Gets the Widget that most closely contains this View, if any. - // NOTE: almost all views displayed on screen have a Widget, but not - // necessarily a Window. This is due to widgets being able to create top - // level windows (as is done for popups, bubbles and menus). - virtual const Window* GetWindow() const; - virtual Window* GetWindow(); - // TODO(beng): REMOVE (TBD) // Returns true if the native view |native_view| is contained in the view // hierarchy beneath this view. |