| 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_TAB_CONTENTS_TAB_CONTENTS_VIEW_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 13 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 14 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" | 14 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" |
| 15 #include "gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 16 #include "gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
| 17 #include "gfx/size.h" | 17 #include "ui/gfx/size.h" |
| 18 | 18 |
| 19 class RenderViewHost; | 19 class RenderViewHost; |
| 20 class RenderWidgetHost; | 20 class RenderWidgetHost; |
| 21 class RenderWidgetHostView; | 21 class RenderWidgetHostView; |
| 22 class TabContents; | 22 class TabContents; |
| 23 | 23 |
| 24 // The TabContentsView is an interface that is implemented by the platform- | 24 // The TabContentsView is an interface that is implemented by the platform- |
| 25 // dependent web contents views. The TabContents uses this interface to talk to | 25 // dependent web contents views. The TabContents uses this interface to talk to |
| 26 // them. View-related messages will also get forwarded directly to this class | 26 // them. View-related messages will also get forwarded directly to this class |
| 27 // from RenderViewHost via RenderViewHostDelegate::View. | 27 // from RenderViewHost via RenderViewHostDelegate::View. |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 // These maps hold on to the widgets that we created on behalf of the | 213 // These maps hold on to the widgets that we created on behalf of the |
| 214 // renderer that haven't shown yet. | 214 // renderer that haven't shown yet. |
| 215 typedef std::map<int, RenderWidgetHostView*> PendingWidgetViews; | 215 typedef std::map<int, RenderWidgetHostView*> PendingWidgetViews; |
| 216 PendingWidgetViews pending_widget_views_; | 216 PendingWidgetViews pending_widget_views_; |
| 217 | 217 |
| 218 DISALLOW_COPY_AND_ASSIGN(TabContentsView); | 218 DISALLOW_COPY_AND_ASSIGN(TabContentsView); |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_H_ | 221 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_H_ |
| OLD | NEW |