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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuse ResourceRequestBody Struct 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class PowerSaveBlocker; 53 class PowerSaveBlocker;
54 class RenderViewHostObserver; 54 class RenderViewHostObserver;
55 class RenderWidgetHostDelegate; 55 class RenderWidgetHostDelegate;
56 class SessionStorageNamespace; 56 class SessionStorageNamespace;
57 class SessionStorageNamespaceImpl; 57 class SessionStorageNamespaceImpl;
58 class TestRenderViewHost; 58 class TestRenderViewHost;
59 struct ContextMenuParams; 59 struct ContextMenuParams;
60 struct FileChooserParams; 60 struct FileChooserParams;
61 struct Referrer; 61 struct Referrer;
62 struct ShowDesktopNotificationHostMsgParams; 62 struct ShowDesktopNotificationHostMsgParams;
63 struct ViewMsg_Request;
63 64
64 #if defined(OS_ANDROID) 65 #if defined(OS_ANDROID)
65 class MediaPlayerManagerAndroid; 66 class MediaPlayerManagerAndroid;
66 #endif 67 #endif
67 68
68 // NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT 69 // NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT
69 // notifications. 70 // notifications.
70 class ExecuteNotificationObserver : public NotificationObserver { 71 class ExecuteNotificationObserver : public NotificationObserver {
71 public: 72 public:
72 explicit ExecuteNotificationObserver(int id); 73 explicit ExecuteNotificationObserver(int id);
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 void OnMsgDidStopLoading(); 507 void OnMsgDidStopLoading();
507 void OnMsgDidChangeLoadProgress(double load_progress); 508 void OnMsgDidChangeLoadProgress(double load_progress);
508 void OnMsgDocumentAvailableInMainFrame(); 509 void OnMsgDocumentAvailableInMainFrame();
509 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); 510 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id);
510 void OnMsgContextMenu(const ContextMenuParams& params); 511 void OnMsgContextMenu(const ContextMenuParams& params);
511 void OnMsgToggleFullscreen(bool enter_fullscreen); 512 void OnMsgToggleFullscreen(bool enter_fullscreen);
512 void OnMsgOpenURL(const GURL& url, 513 void OnMsgOpenURL(const GURL& url,
513 const Referrer& referrer, 514 const Referrer& referrer,
514 WindowOpenDisposition disposition, 515 WindowOpenDisposition disposition,
515 int64 source_frame_id); 516 int64 source_frame_id);
517 void OnMsgOpenPostURL(const GURL& url,
518 const Referrer& referrer,
519 WindowOpenDisposition disposition,
520 int64 source_frame_id,
521 const ViewMsg_Request& request);
michaeln 2012/11/02 00:08:23 hooray, const ref!
irobert 2012/11/02 17:22:55 Done.
516 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); 522 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size);
517 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, 523 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
518 bool has_vertical_scrollbar); 524 bool has_vertical_scrollbar);
519 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 525 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
520 bool is_pinned_to_right); 526 bool is_pinned_to_right);
521 void OnMsgDidChangeNumWheelEvents(int count); 527 void OnMsgDidChangeNumWheelEvents(int count);
522 void OnMsgSelectionChanged(const string16& text, 528 void OnMsgSelectionChanged(const string16& text,
523 size_t offset, 529 size_t offset,
524 const ui::Range& range); 530 const ui::Range& range);
525 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, 531 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 706 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
701 }; 707 };
702 708
703 #if defined(COMPILER_MSVC) 709 #if defined(COMPILER_MSVC)
704 #pragma warning(pop) 710 #pragma warning(pop)
705 #endif 711 #endif
706 712
707 } // namespace content 713 } // namespace content
708 714
709 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 715 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698