Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Comments Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 // page if it has been specified in meta tag. 846 // page if it has been specified in meta tag.
846 // c) function:DidFinishDocumentLoadForFrame. When this function is 847 // c) function:DidFinishDocumentLoadForFrame. When this function is
847 // called, that means we have got whole html page. In here we should 848 // called, that means we have got whole html page. In here we should
848 // finally get right encoding of page. 849 // finally get right encoding of page.
849 void UpdateEncoding(WebKit::WebFrame* frame, 850 void UpdateEncoding(WebKit::WebFrame* frame,
850 const std::string& encoding_name); 851 const std::string& encoding_name);
851 852
852 void OpenURL(WebKit::WebFrame* frame, 853 void OpenURL(WebKit::WebFrame* frame,
853 const GURL& url, 854 const GURL& url,
854 const Referrer& referrer, 855 const Referrer& referrer,
855 WebKit::WebNavigationPolicy policy); 856 WebKit::WebNavigationPolicy policy,
857 std::string extra_header,
irobert 2012/11/19 19:56:31 If we save the POST data in the navigation_state o
Charlie Reis 2012/11/20 05:46:03 But those aren't sent to the browser process, are
irobert 2012/11/22 01:37:00 Like what we have done for Cross-Process redirect
858 scoped_refptr<webkit_glue::ResourceRequestBody> request_body);
856 859
857 bool RunJavaScriptMessage(JavaScriptMessageType type, 860 bool RunJavaScriptMessage(JavaScriptMessageType type,
858 const string16& message, 861 const string16& message,
859 const string16& default_value, 862 const string16& default_value,
860 const GURL& frame_url, 863 const GURL& frame_url,
861 string16* result); 864 string16* result);
862 865
863 // Sends a message and runs a nested message loop. 866 // Sends a message and runs a nested message loop.
864 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); 867 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message);
865 868
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 // use the Observer interface to filter IPC messages and receive frame change 1551 // use the Observer interface to filter IPC messages and receive frame change
1549 // notifications. 1552 // notifications.
1550 // --------------------------------------------------------------------------- 1553 // ---------------------------------------------------------------------------
1551 1554
1552 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1555 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1553 }; 1556 };
1554 1557
1555 } // namespace content 1558 } // namespace content
1556 1559
1557 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1560 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698