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

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: Charlie's nits 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 void OnRenderViewReady(); 341 void OnRenderViewReady();
342 void OnRenderProcessGone(int status, int error_code); 342 void OnRenderProcessGone(int status, int error_code);
343 void OnUpdateState(int32 page_id, const PageState& state); 343 void OnUpdateState(int32 page_id, const PageState& state);
344 void OnUpdateTargetURL(const GURL& url); 344 void OnUpdateTargetURL(const GURL& url);
345 void OnClose(); 345 void OnClose();
346 void OnRequestMove(const gfx::Rect& pos); 346 void OnRequestMove(const gfx::Rect& pos);
347 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); 347 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level);
348 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); 348 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size);
349 void OnPasteFromSelectionClipboard(); 349 void OnPasteFromSelectionClipboard();
350 void OnRouteCloseEvent(); 350 void OnRouteCloseEvent();
351 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
352 void OnStartDragging(const DropData& drop_data, 351 void OnStartDragging(const DropData& drop_data,
353 blink::WebDragOperationsMask operations_allowed, 352 blink::WebDragOperationsMask operations_allowed,
354 const SkBitmap& bitmap, 353 const SkBitmap& bitmap,
355 const gfx::Vector2d& bitmap_offset_in_dip, 354 const gfx::Vector2d& bitmap_offset_in_dip,
356 const DragEventSourceInfo& event_info); 355 const DragEventSourceInfo& event_info);
357 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); 356 void OnUpdateDragCursor(blink::WebDragOperation drag_operation);
358 void OnTargetDropACK(); 357 void OnTargetDropACK();
359 void OnTakeFocus(bool reverse); 358 void OnTakeFocus(bool reverse);
360 void OnFocusedNodeChanged(bool is_editable_node, 359 void OnFocusedNodeChanged(bool is_editable_node,
361 const gfx::Rect& node_bounds_in_viewport); 360 const gfx::Rect& node_bounds_in_viewport);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 461 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
463 }; 462 };
464 463
465 #if defined(COMPILER_MSVC) 464 #if defined(COMPILER_MSVC)
466 #pragma warning(pop) 465 #pragma warning(pop)
467 #endif 466 #endif
468 467
469 } // namespace content 468 } // namespace content
470 469
471 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 470 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('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