Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_NATIVE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_NATIVE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_NATIVE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_NATIVE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h" | 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h" |
| 10 #include "content/common/notification_observer.h" | 10 #include "content/common/notification_observer.h" |
| 11 #include "content/common/notification_registrar.h" | 11 #include "content/common/notification_registrar.h" |
| 12 #include "views/view.h" | 12 #include "views/view.h" |
| 13 | 13 |
| 14 #include "ui/base/accessibility/accessibility_types.h" | |
|
Chris Guillory
2011/06/10 19:10:09
Nit: Extra line here and this include isn't in sor
dmazzoni
2011/06/10 22:38:40
Done.
| |
| 15 | |
| 14 class NativeTabContentsContainer; | 16 class NativeTabContentsContainer; |
| 15 class RenderViewHost; | 17 class RenderViewHost; |
| 16 class RenderWidgetHostView; | 18 class RenderWidgetHostView; |
| 17 class TabContents; | 19 class TabContents; |
| 18 | 20 |
| 19 class TabContentsContainer : public views::View, | 21 class TabContentsContainer : public views::View, |
| 20 public NotificationObserver { | 22 public NotificationObserver { |
| 21 public: | 23 public: |
| 22 TabContentsContainer(); | 24 TabContentsContainer(); |
| 23 virtual ~TabContentsContainer(); | 25 virtual ~TabContentsContainer(); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 85 | 87 |
| 86 // The current reserved rect in view coordinates where contents should not be | 88 // The current reserved rect in view coordinates where contents should not be |
| 87 // rendered to draw the resize corner, sidebar mini tabs etc. | 89 // rendered to draw the resize corner, sidebar mini tabs etc. |
| 88 // Cached here to update ever changing renderers. | 90 // Cached here to update ever changing renderers. |
| 89 gfx::Rect cached_reserved_rect_; | 91 gfx::Rect cached_reserved_rect_; |
| 90 | 92 |
| 91 DISALLOW_COPY_AND_ASSIGN(TabContentsContainer); | 93 DISALLOW_COPY_AND_ASSIGN(TabContentsContainer); |
| 92 }; | 94 }; |
| 93 | 95 |
| 94 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_NATIVE_H_ | 96 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_NATIVE_H_ |
| OLD | NEW |