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

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

Issue 1046933005: Refactor postMessage for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable SupportCrossProcessPostMessage test on FYI bots Created 5 years, 8 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
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 void OnRenderViewReady(); 331 void OnRenderViewReady();
332 void OnRenderProcessGone(int status, int error_code); 332 void OnRenderProcessGone(int status, int error_code);
333 void OnUpdateState(int32 page_id, const PageState& state); 333 void OnUpdateState(int32 page_id, const PageState& state);
334 void OnUpdateTargetURL(const GURL& url); 334 void OnUpdateTargetURL(const GURL& url);
335 void OnClose(); 335 void OnClose();
336 void OnRequestMove(const gfx::Rect& pos); 336 void OnRequestMove(const gfx::Rect& pos);
337 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); 337 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level);
338 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); 338 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size);
339 void OnPasteFromSelectionClipboard(); 339 void OnPasteFromSelectionClipboard();
340 void OnRouteCloseEvent(); 340 void OnRouteCloseEvent();
341 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
342 void OnStartDragging(const DropData& drop_data, 341 void OnStartDragging(const DropData& drop_data,
343 blink::WebDragOperationsMask operations_allowed, 342 blink::WebDragOperationsMask operations_allowed,
344 const SkBitmap& bitmap, 343 const SkBitmap& bitmap,
345 const gfx::Vector2d& bitmap_offset_in_dip, 344 const gfx::Vector2d& bitmap_offset_in_dip,
346 const DragEventSourceInfo& event_info); 345 const DragEventSourceInfo& event_info);
347 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); 346 void OnUpdateDragCursor(blink::WebDragOperation drag_operation);
348 void OnTargetDropACK(); 347 void OnTargetDropACK();
349 void OnTakeFocus(bool reverse); 348 void OnTakeFocus(bool reverse);
350 void OnFocusedNodeChanged(bool is_editable_node, 349 void OnFocusedNodeChanged(bool is_editable_node,
351 const gfx::Rect& node_bounds_in_viewport); 350 const gfx::Rect& node_bounds_in_viewport);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 448 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
450 }; 449 };
451 450
452 #if defined(COMPILER_MSVC) 451 #if defined(COMPILER_MSVC)
453 #pragma warning(pop) 452 #pragma warning(pop)
454 #endif 453 #endif
455 454
456 } // namespace content 455 } // namespace content
457 456
458 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 457 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698