diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 17:01:11 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 17:01:11 +0000 |
commit | 8f5b58f1daabaa3b02499043e3c01ae5d05aaf7b (patch) | |
tree | 85443aa44fb4c17fc666c2624c87aabc858e7d79 /chrome/browser/views/tabs/dragged_tab_controller.h | |
parent | 44903a076984c27d2fe98ac872a455cefd01aa51 (diff) | |
download | chromium_src-8f5b58f1daabaa3b02499043e3c01ae5d05aaf7b.zip chromium_src-8f5b58f1daabaa3b02499043e3c01ae5d05aaf7b.tar.gz chromium_src-8f5b58f1daabaa3b02499043e3c01ae5d05aaf7b.tar.bz2 |
Use the NotificationRegistrar for the remaining TAB_CONTENTS_DESTROYED
notifications to see if it can fix a crash.
Review URL: http://codereview.chromium.org/92129
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tabs/dragged_tab_controller.h')
-rw-r--r-- | chrome/browser/views/tabs/dragged_tab_controller.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/dragged_tab_controller.h b/chrome/browser/views/tabs/dragged_tab_controller.h index 00b715b..1989031 100644 --- a/chrome/browser/views/tabs/dragged_tab_controller.h +++ b/chrome/browser/views/tabs/dragged_tab_controller.h @@ -12,7 +12,7 @@ #include "chrome/browser/tab_contents/tab_contents_delegate.h" #include "chrome/browser/tabs/tab_strip_model.h" #include "chrome/browser/views/tabs/tab_renderer.h" -#include "chrome/common/notification_observer.h" +#include "chrome/common/notification_registrar.h" namespace views { class MouseEvent; @@ -223,6 +223,9 @@ class DraggedTabController : public TabContentsDelegate, void BringWindowUnderMouseToFront(); + // Handles registering for notifications. + NotificationRegistrar registrar_; + // The TabContents being dragged. TabContents* dragged_contents_; |