OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "ui/gfx/size.h" | 28 #include "ui/gfx/size.h" |
29 #include "webkit/glue/resource_type.h" | 29 #include "webkit/glue/resource_type.h" |
30 | 30 |
31 #if defined(OS_WIN) | 31 #if defined(OS_WIN) |
32 #include "base/win/scoped_handle.h" | 32 #include "base/win/scoped_handle.h" |
33 #endif | 33 #endif |
34 | 34 |
35 class InterstitialPageImpl; | 35 class InterstitialPageImpl; |
36 class SavePackage; | 36 class SavePackage; |
37 class SessionStorageNamespaceImpl; | 37 class SessionStorageNamespaceImpl; |
| 38 struct ViewMsg_PostMessage_Params; |
38 | 39 |
39 namespace content { | 40 namespace content { |
40 class ColorChooser; | 41 class ColorChooser; |
41 class DownloadItem; | 42 class DownloadItem; |
42 class JavaScriptDialogCreator; | 43 class JavaScriptDialogCreator; |
43 class RenderViewHost; | 44 class RenderViewHost; |
44 class RenderViewHostImpl; | 45 class RenderViewHostImpl; |
45 class SiteInstance; | 46 class SiteInstance; |
46 class TestWebContents; | 47 class TestWebContents; |
47 class WebContentsDelegate; | 48 class WebContentsDelegate; |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 const content::Referrer& referrer, | 305 const content::Referrer& referrer, |
305 WindowOpenDisposition disposition, | 306 WindowOpenDisposition disposition, |
306 int64 source_frame_id) OVERRIDE; | 307 int64 source_frame_id) OVERRIDE; |
307 virtual void RequestTransferURL( | 308 virtual void RequestTransferURL( |
308 const GURL& url, | 309 const GURL& url, |
309 const content::Referrer& referrer, | 310 const content::Referrer& referrer, |
310 WindowOpenDisposition disposition, | 311 WindowOpenDisposition disposition, |
311 int64 source_frame_id, | 312 int64 source_frame_id, |
312 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; | 313 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; |
313 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; | 314 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; |
| 315 virtual void RouteMessageEvent( |
| 316 content::RenderViewHost* rvh, |
| 317 const ViewMsg_PostMessage_Params& params) OVERRIDE; |
314 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, | 318 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, |
315 const string16& message, | 319 const string16& message, |
316 const string16& default_prompt, | 320 const string16& default_prompt, |
317 const GURL& frame_url, | 321 const GURL& frame_url, |
318 ui::JavascriptMessageType type, | 322 ui::JavascriptMessageType type, |
319 IPC::Message* reply_msg, | 323 IPC::Message* reply_msg, |
320 bool* did_suppress_message) OVERRIDE; | 324 bool* did_suppress_message) OVERRIDE; |
321 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, | 325 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, |
322 const string16& message, | 326 const string16& message, |
323 bool is_reload, | 327 bool is_reload, |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 // Our view type. Default is VIEW_TYPE_WEB_CONTENTS. | 715 // Our view type. Default is VIEW_TYPE_WEB_CONTENTS. |
712 content::ViewType view_type_; | 716 content::ViewType view_type_; |
713 | 717 |
714 // Color chooser that was opened by this tab. | 718 // Color chooser that was opened by this tab. |
715 content::ColorChooser* color_chooser_; | 719 content::ColorChooser* color_chooser_; |
716 | 720 |
717 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 721 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
718 }; | 722 }; |
719 | 723 |
720 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 724 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |