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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 692973005: Pass origin information for remote frame creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 class RendererPpapiHost; 81 class RendererPpapiHost;
82 class RenderFrameObserver; 82 class RenderFrameObserver;
83 class RenderViewImpl; 83 class RenderViewImpl;
84 class RenderWidget; 84 class RenderWidget;
85 class RenderWidgetFullscreenPepper; 85 class RenderWidgetFullscreenPepper;
86 class ScreenOrientationDispatcher; 86 class ScreenOrientationDispatcher;
87 class UserMediaClientImpl; 87 class UserMediaClientImpl;
88 struct CommitNavigationParams; 88 struct CommitNavigationParams;
89 struct CommonNavigationParams; 89 struct CommonNavigationParams;
90 struct CustomContextMenuContext; 90 struct CustomContextMenuContext;
91 struct FrameReplicationState;
91 struct RequestNavigationParams; 92 struct RequestNavigationParams;
92 struct ResourceResponseHead; 93 struct ResourceResponseHead;
93 94
94 class CONTENT_EXPORT RenderFrameImpl 95 class CONTENT_EXPORT RenderFrameImpl
95 : public RenderFrame, 96 : public RenderFrame,
96 NON_EXPORTED_BASE(public blink::WebFrameClient), 97 NON_EXPORTED_BASE(public blink::WebFrameClient),
97 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate) { 98 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate) {
98 public: 99 public:
99 // Creates a new RenderFrame. |render_view| is the RenderView object that this 100 // Creates a new RenderFrame. |render_view| is the RenderView object that this
100 // frame belongs to. 101 // frame belongs to.
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 530
530 // Gets the focused element. If no such element exists then the element will 531 // Gets the focused element. If no such element exists then the element will
531 // be NULL. 532 // be NULL.
532 blink::WebElement GetFocusedElement(); 533 blink::WebElement GetFocusedElement();
533 534
534 // IPC message handlers ------------------------------------------------------ 535 // IPC message handlers ------------------------------------------------------
535 // 536 //
536 // The documentation for these functions should be in 537 // The documentation for these functions should be in
537 // content/common/*_messages.h for the message that the function is handling. 538 // content/common/*_messages.h for the message that the function is handling.
538 void OnBeforeUnload(); 539 void OnBeforeUnload();
539 void OnSwapOut(int proxy_routing_id); 540 void OnSwapOut(int proxy_routing_id,
541 const FrameReplicationState& remote_frame_state);
540 void OnStop(); 542 void OnStop();
541 void OnShowContextMenu(const gfx::Point& location); 543 void OnShowContextMenu(const gfx::Point& location);
542 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); 544 void OnContextMenuClosed(const CustomContextMenuContext& custom_context);
543 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, 545 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context,
544 unsigned action); 546 unsigned action);
545 void OnUndo(); 547 void OnUndo();
546 void OnRedo(); 548 void OnRedo();
547 void OnCut(); 549 void OnCut();
548 void OnCopy(); 550 void OnCopy();
549 void OnPaste(); 551 void OnPaste();
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 #endif 814 #endif
813 815
814 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 816 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
815 817
816 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 818 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
817 }; 819 };
818 820
819 } // namespace content 821 } // namespace content
820 822
821 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 823 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698