| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_WEB_CONTENTS_VIEW_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/gfx/native_widget_types.h" | 12 #include "base/gfx/native_widget_types.h" |
| 13 #include "base/gfx/rect.h" | 13 #include "base/gfx/rect.h" |
| 14 #include "base/gfx/size.h" | 14 #include "base/gfx/size.h" |
| 15 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 15 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 16 | 16 |
| 17 class Browser; | 17 class Browser; |
| 18 class RenderViewHost; | 18 class RenderViewHost; |
| 19 class RenderWidgetHost; | 19 class RenderWidgetHost; |
| 20 class RenderWidgetHostView; | 20 class RenderWidgetHostView; |
| 21 class WebContents; | 21 class WebContents; |
| 22 struct WebDropData; | |
| 23 class WebKeyboardEvent; | 22 class WebKeyboardEvent; |
| 24 | 23 |
| 25 namespace base { | 24 namespace base { |
| 26 class WaitableEvent; | 25 class WaitableEvent; |
| 27 } | 26 } |
| 28 | 27 |
| 29 // The WebContentsView is an interface that is implemented by the platform- | 28 // The WebContentsView is an interface that is implemented by the platform- |
| 30 // dependent web contents views. The WebContents uses this interface to talk to | 29 // dependent web contents views. The WebContents uses this interface to talk to |
| 31 // them. View-related messages will also get forwarded directly to this class | 30 // them. View-related messages will also get forwarded directly to this class |
| 32 // from RenderViewHost via RenderViewHostDelegate::View. | 31 // from RenderViewHost via RenderViewHostDelegate::View. |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 191 |
| 193 // These maps hold on to the widgets that we created on behalf of the | 192 // These maps hold on to the widgets that we created on behalf of the |
| 194 // renderer that haven't shown yet. | 193 // renderer that haven't shown yet. |
| 195 typedef std::map<int, RenderWidgetHostView*> PendingWidgetViews; | 194 typedef std::map<int, RenderWidgetHostView*> PendingWidgetViews; |
| 196 PendingWidgetViews pending_widget_views_; | 195 PendingWidgetViews pending_widget_views_; |
| 197 | 196 |
| 198 DISALLOW_COPY_AND_ASSIGN(WebContentsView); | 197 DISALLOW_COPY_AND_ASSIGN(WebContentsView); |
| 199 }; | 198 }; |
| 200 | 199 |
| 201 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_H_ | 200 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_H_ |
| OLD | NEW |