summaryrefslogtreecommitdiffstats
path: root/views/view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 17:47:43 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 17:47:43 +0000
commit68c477df6917633a7a9c64f8624446ca0bd895d5 (patch)
treea270354aa75de9516ba5b150568bb1d142b24b1c /views/view.h
parent8a9c6c3401524c0a4b5d37d65335e9124885305a (diff)
downloadchromium_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.h8
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.