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

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: New OpenURL function and DataType Test 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 15 matching lines...) Expand all
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
28 #include "webkit/glue/window_open_disposition.h" 28 #include "webkit/glue/window_open_disposition.h"
29 29
30 class SkBitmap; 30 class SkBitmap;
31 class ViewMsg_Navigate; 31 class ViewMsg_Navigate;
32 struct AccessibilityHostMsg_NotificationParams; 32 struct AccessibilityHostMsg_NotificationParams;
33 struct MediaPlayerAction; 33 struct MediaPlayerAction;
34 struct ViewHostMsg_CreateWindow_Params; 34 struct ViewHostMsg_CreateWindow_Params;
35 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; 35 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params;
36 struct ViewHostMsg_OpenURL_Params;
36 struct ViewHostMsg_ShowPopup_Params; 37 struct ViewHostMsg_ShowPopup_Params;
37 struct ViewMsg_Navigate_Params; 38 struct ViewMsg_Navigate_Params;
38 struct ViewMsg_PostMessage_Params; 39 struct ViewMsg_PostMessage_Params;
39 struct ViewMsg_StopFinding_Params; 40 struct ViewMsg_StopFinding_Params;
40 41
41 namespace base { 42 namespace base {
42 class ListValue; 43 class ListValue;
43 } 44 }
44 45
45 namespace ui { 46 namespace ui {
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); 503 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
503 void OnMsgClose(); 504 void OnMsgClose();
504 void OnMsgRequestMove(const gfx::Rect& pos); 505 void OnMsgRequestMove(const gfx::Rect& pos);
505 void OnMsgDidStartLoading(); 506 void OnMsgDidStartLoading();
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 ViewHostMsg_OpenURL_Params& params);
513 const Referrer& referrer,
514 WindowOpenDisposition disposition,
515 int64 source_frame_id);
516 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); 514 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size);
517 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, 515 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
518 bool has_vertical_scrollbar); 516 bool has_vertical_scrollbar);
519 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 517 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
520 bool is_pinned_to_right); 518 bool is_pinned_to_right);
521 void OnMsgDidChangeNumWheelEvents(int count); 519 void OnMsgDidChangeNumWheelEvents(int count);
522 void OnMsgSelectionChanged(const string16& text, 520 void OnMsgSelectionChanged(const string16& text,
523 size_t offset, 521 size_t offset,
524 const ui::Range& range); 522 const ui::Range& range);
525 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, 523 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); 698 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
701 }; 699 };
702 700
703 #if defined(COMPILER_MSVC) 701 #if defined(COMPILER_MSVC)
704 #pragma warning(pop) 702 #pragma warning(pop)
705 #endif 703 #endif
706 704
707 } // namespace content 705 } // namespace content
708 706
709 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 707 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698