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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" |
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
45 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
46 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
47 #include "ui/surface/transport_dib.h" | 47 #include "ui/surface/transport_dib.h" |
| 48 #include "webkit/glue/resource_request_body.h" |
48 #include "webkit/glue/webpreferences.h" | 49 #include "webkit/glue/webpreferences.h" |
49 #include "webkit/media/webmediaplayer_delegate.h" | 50 #include "webkit/media/webmediaplayer_delegate.h" |
50 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 51 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
51 | 52 |
52 #if defined(OS_ANDROID) | 53 #if defined(OS_ANDROID) |
53 #include "content/renderer/android/content_detector.h" | 54 #include "content/renderer/android/content_detector.h" |
54 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContentDetectionRe
sult.h" | 55 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContentDetectionRe
sult.h" |
55 #endif | 56 #endif |
56 | 57 |
57 #if defined(COMPILER_MSVC) | 58 #if defined(COMPILER_MSVC) |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 // page if it has been specified in meta tag. | 851 // page if it has been specified in meta tag. |
851 // c) function:DidFinishDocumentLoadForFrame. When this function is | 852 // c) function:DidFinishDocumentLoadForFrame. When this function is |
852 // called, that means we have got whole html page. In here we should | 853 // called, that means we have got whole html page. In here we should |
853 // finally get right encoding of page. | 854 // finally get right encoding of page. |
854 void UpdateEncoding(WebKit::WebFrame* frame, | 855 void UpdateEncoding(WebKit::WebFrame* frame, |
855 const std::string& encoding_name); | 856 const std::string& encoding_name); |
856 | 857 |
857 void OpenURL(WebKit::WebFrame* frame, | 858 void OpenURL(WebKit::WebFrame* frame, |
858 const GURL& url, | 859 const GURL& url, |
859 const Referrer& referrer, | 860 const Referrer& referrer, |
860 WebKit::WebNavigationPolicy policy); | 861 WebKit::WebNavigationPolicy policy, |
| 862 std::string extra_header, |
| 863 scoped_refptr<webkit_glue::ResourceRequestBody> request_body); |
861 | 864 |
862 bool RunJavaScriptMessage(JavaScriptMessageType type, | 865 bool RunJavaScriptMessage(JavaScriptMessageType type, |
863 const string16& message, | 866 const string16& message, |
864 const string16& default_value, | 867 const string16& default_value, |
865 const GURL& frame_url, | 868 const GURL& frame_url, |
866 string16* result); | 869 string16* result); |
867 | 870 |
868 // Sends a message and runs a nested message loop. | 871 // Sends a message and runs a nested message loop. |
869 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); | 872 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); |
870 | 873 |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1551 // use the Observer interface to filter IPC messages and receive frame change | 1554 // use the Observer interface to filter IPC messages and receive frame change |
1552 // notifications. | 1555 // notifications. |
1553 // --------------------------------------------------------------------------- | 1556 // --------------------------------------------------------------------------- |
1554 | 1557 |
1555 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1558 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1556 }; | 1559 }; |
1557 | 1560 |
1558 } // namespace content | 1561 } // namespace content |
1559 | 1562 |
1560 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1563 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |