diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 23:47:54 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 23:47:54 +0000 |
commit | 9ec2214edeeaf69b25a88ad8376523be7e2f73dd (patch) | |
tree | c67bd8226b93b43ca27c62c7bcb08af1632809c4 /ui/views/widget/widget.h | |
parent | 85ff16045ea4c8029899c42e7f676057368d594e (diff) | |
download | chromium_src-9ec2214edeeaf69b25a88ad8376523be7e2f73dd.zip chromium_src-9ec2214edeeaf69b25a88ad8376523be7e2f73dd.tar.gz chromium_src-9ec2214edeeaf69b25a88ad8376523be7e2f73dd.tar.bz2 |
Don't unparent tabs when detaching them. This cleans up a bunch of code in TabContentsViews and related tab container classes, and simplifies switching to TabContentsViewWin.
The code has been like this from way before our open sourcing, and no one is sure why we do it like that now, so it might not be necessary anymore. Trying it out.
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9592022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/widget/widget.h')
-rw-r--r-- | ui/views/widget/widget.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h index 527914a..c242cf3 100644 --- a/ui/views/widget/widget.h +++ b/ui/views/widget/widget.h @@ -424,9 +424,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, // Returns the FocusManager for this widget. // Note that all widgets in a widget hierarchy share the same focus manager. - // TODO(beng): remove virtual. - virtual FocusManager* GetFocusManager(); - virtual const FocusManager* GetFocusManager() const; + FocusManager* GetFocusManager(); + const FocusManager* GetFocusManager() const; // Returns the InputMethod for this widget. // Note that all widgets in a widget hierarchy share the same input method. |