| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ | 6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/views/tab_contents/native_tab_contents_container.h" | 9 #include "chrome/browser/views/tab_contents/native_tab_contents_container.h" |
| 10 #include "chrome/common/notification_observer.h" |
| 10 #include "chrome/common/notification_registrar.h" | 11 #include "chrome/common/notification_registrar.h" |
| 11 #include "views/view.h" | 12 #include "views/view.h" |
| 12 | 13 |
| 13 class NativeTabContentsContainer; | 14 class NativeTabContentsContainer; |
| 14 class RenderViewHost; | 15 class RenderViewHost; |
| 15 class TabContents; | 16 class TabContents; |
| 16 | 17 |
| 17 class TabContentsContainer : public views::View, | 18 class TabContentsContainer : public views::View, |
| 18 public NotificationObserver { | 19 public NotificationObserver { |
| 19 public: | 20 public: |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // The attached TabContents. | 72 // The attached TabContents. |
| 72 TabContents* tab_contents_; | 73 TabContents* tab_contents_; |
| 73 | 74 |
| 74 // Handles registering for our notifications. | 75 // Handles registering for our notifications. |
| 75 NotificationRegistrar registrar_; | 76 NotificationRegistrar registrar_; |
| 76 | 77 |
| 77 DISALLOW_COPY_AND_ASSIGN(TabContentsContainer); | 78 DISALLOW_COPY_AND_ASSIGN(TabContentsContainer); |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ | 81 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ |
| OLD | NEW |