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

Side by Side Diff: content/common/view_messages.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android API, Helper Function and Include_rules Created 8 years 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 29 matching lines...) Expand all
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
43 #include "ui/base/dialogs/selected_file_info.h" 43 #include "ui/base/dialogs/selected_file_info.h"
44 #include "ui/base/ime/text_input_type.h" 44 #include "ui/base/ime/text_input_type.h"
45 #include "ui/base/range/range.h" 45 #include "ui/base/range/range.h"
46 #include "ui/gfx/point.h" 46 #include "ui/gfx/point.h"
47 #include "ui/gfx/rect.h" 47 #include "ui/gfx/rect.h"
48 #include "ui/gfx/rect_f.h" 48 #include "ui/gfx/rect_f.h"
49 #include "ui/gfx/vector2d.h" 49 #include "ui/gfx/vector2d.h"
50 #include "webkit/glue/resource_request_body.h"
50 #include "webkit/glue/webcookie.h" 51 #include "webkit/glue/webcookie.h"
51 #include "webkit/glue/webmenuitem.h" 52 #include "webkit/glue/webmenuitem.h"
52 #include "webkit/glue/webpreferences.h" 53 #include "webkit/glue/webpreferences.h"
53 #include "webkit/plugins/npapi/webplugin.h" 54 #include "webkit/plugins/npapi/webplugin.h"
54 55
55 #if defined(OS_MACOSX) 56 #if defined(OS_MACOSX)
56 #include "content/common/mac/font_descriptor.h" 57 #include "content/common/mac/font_descriptor.h"
57 #endif 58 #endif
58 59
59 #undef IPC_MESSAGE_EXPORT 60 #undef IPC_MESSAGE_EXPORT
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 IPC_STRUCT_MEMBER(bool, allow_download) 737 IPC_STRUCT_MEMBER(bool, allow_download)
737 738
738 // Whether or not the user agent override string should be used. 739 // Whether or not the user agent override string should be used.
739 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) 740 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent)
740 741
741 // True if this was a post request. 742 // True if this was a post request.
742 IPC_STRUCT_MEMBER(bool, is_post) 743 IPC_STRUCT_MEMBER(bool, is_post)
743 744
744 // If is_post is true, holds the post_data information from browser. Empty 745 // If is_post is true, holds the post_data information from browser. Empty
745 // otherwise. 746 // otherwise.
746 IPC_STRUCT_MEMBER(std::vector<unsigned char>, browser_initiated_post_data) 747 IPC_STRUCT_MEMBER(scoped_refptr<webkit_glue::ResourceRequestBody>,
748 browser_initiated_post_data)
747 749
748 // Whether or not this url should be allowed to access local file:// 750 // Whether or not this url should be allowed to access local file://
749 // resources. 751 // resources.
750 IPC_STRUCT_MEMBER(bool, can_load_local_resources) 752 IPC_STRUCT_MEMBER(bool, can_load_local_resources)
751 IPC_STRUCT_END() 753 IPC_STRUCT_END()
752 754
753 // Parameters for an OpenURL request. 755 // Parameters for an OpenURL request.
754 IPC_STRUCT_BEGIN(ViewHostMsg_OpenURL_Params) 756 IPC_STRUCT_BEGIN(ViewHostMsg_OpenURL_Params)
755 IPC_STRUCT_MEMBER(GURL, url) 757 IPC_STRUCT_MEMBER(GURL, url)
756 IPC_STRUCT_MEMBER(content::Referrer, referrer) 758 IPC_STRUCT_MEMBER(content::Referrer, referrer)
757 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 759 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
758 IPC_STRUCT_MEMBER(int64, frame_id) 760 IPC_STRUCT_MEMBER(int64, frame_id)
759 IPC_STRUCT_MEMBER(bool, is_cross_site_redirect) 761 IPC_STRUCT_MEMBER(bool, is_cross_site_redirect)
762 IPC_STRUCT_MEMBER(std::string, extra_header)
763 IPC_STRUCT_MEMBER(scoped_refptr<webkit_glue::ResourceRequestBody>,
764 request_body)
760 IPC_STRUCT_END() 765 IPC_STRUCT_END()
761 766
762 IPC_STRUCT_BEGIN(ViewMsg_New_Params) 767 IPC_STRUCT_BEGIN(ViewMsg_New_Params)
763 // Renderer-wide preferences. 768 // Renderer-wide preferences.
764 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) 769 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences)
765 770
766 // Preferences for this view. 771 // Preferences for this view.
767 IPC_STRUCT_MEMBER(webkit_glue::WebPreferences, web_preferences) 772 IPC_STRUCT_MEMBER(webkit_glue::WebPreferences, web_preferences)
768 773
769 // The ID of the view to be created. 774 // The ID of the view to be created.
(...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after
2432 int /* arb_robustness_status_code */) 2437 int /* arb_robustness_status_code */)
2433 2438
2434 #if defined(OS_WIN) 2439 #if defined(OS_WIN)
2435 // Request that the given font characters be loaded by the browser so it's 2440 // Request that the given font characters be loaded by the browser so it's
2436 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2441 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2437 // for details. 2442 // for details.
2438 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2443 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2439 LOGFONT /* font_data */, 2444 LOGFONT /* font_data */,
2440 string16 /* characters */) 2445 string16 /* characters */)
2441 #endif 2446 #endif
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698