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

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

Issue 9108001: Adds support for calling postMessage on a frame living in a different renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Invert check. Created 8 years, 7 months 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 20 matching lines...) Expand all
31 class PowerSaveBlocker; 31 class PowerSaveBlocker;
32 class SessionStorageNamespaceImpl; 32 class SessionStorageNamespaceImpl;
33 class SkBitmap; 33 class SkBitmap;
34 class ViewMsg_Navigate; 34 class ViewMsg_Navigate;
35 struct AccessibilityHostMsg_NotificationParams; 35 struct AccessibilityHostMsg_NotificationParams;
36 struct MediaPlayerAction; 36 struct MediaPlayerAction;
37 struct ViewHostMsg_CreateWindow_Params; 37 struct ViewHostMsg_CreateWindow_Params;
38 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; 38 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params;
39 struct ViewHostMsg_ShowPopup_Params; 39 struct ViewHostMsg_ShowPopup_Params;
40 struct ViewMsg_Navigate_Params; 40 struct ViewMsg_Navigate_Params;
41 struct ViewMsg_PostMessage_Params;
41 struct ViewMsg_StopFinding_Params; 42 struct ViewMsg_StopFinding_Params;
42 43
43 namespace base { 44 namespace base {
44 class ListValue; 45 class ListValue;
45 } 46 }
46 47
47 namespace content { 48 namespace content {
48 class TestRenderViewHost; 49 class TestRenderViewHost;
49 } 50 }
50 51
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 479 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
479 bool is_pinned_to_right); 480 bool is_pinned_to_right);
480 void OnMsgDidChangeNumWheelEvents(int count); 481 void OnMsgDidChangeNumWheelEvents(int count);
481 void OnMsgSelectionChanged(const string16& text, 482 void OnMsgSelectionChanged(const string16& text,
482 size_t offset, 483 size_t offset,
483 const ui::Range& range); 484 const ui::Range& range);
484 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, 485 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect,
485 const gfx::Rect& end_rect); 486 const gfx::Rect& end_rect);
486 void OnMsgPasteFromSelectionClipboard(); 487 void OnMsgPasteFromSelectionClipboard();
487 void OnMsgRouteCloseEvent(); 488 void OnMsgRouteCloseEvent();
489 void OnMsgRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
488 void OnMsgRunJavaScriptMessage(const string16& message, 490 void OnMsgRunJavaScriptMessage(const string16& message,
489 const string16& default_prompt, 491 const string16& default_prompt,
490 const GURL& frame_url, 492 const GURL& frame_url,
491 ui::JavascriptMessageType type, 493 ui::JavascriptMessageType type,
492 IPC::Message* reply_msg); 494 IPC::Message* reply_msg);
493 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, 495 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url,
494 const string16& message, 496 const string16& message,
495 bool is_reload, 497 bool is_reload,
496 IPC::Message* reply_msg); 498 IPC::Message* reply_msg);
497 void OnMsgStartDragging(const WebDropData& drop_data, 499 void OnMsgStartDragging(const WebDropData& drop_data,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 645 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
644 }; 646 };
645 647
646 #if defined(COMPILER_MSVC) 648 #if defined(COMPILER_MSVC)
647 #pragma warning(pop) 649 #pragma warning(pop)
648 #endif 650 #endif
649 651
650 } // namespace content 652 } // namespace content
651 653
652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 654 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/data/post_message.html ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698