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