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

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

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using non-inherited structs Created 6 years, 3 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 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 15 matching lines...) Expand all
26 #include "third_party/WebKit/public/web/WebAXObject.h" 26 #include "third_party/WebKit/public/web/WebAXObject.h"
27 #include "third_party/WebKit/public/web/WebDataSource.h" 27 #include "third_party/WebKit/public/web/WebDataSource.h"
28 #include "third_party/WebKit/public/web/WebFrameClient.h" 28 #include "third_party/WebKit/public/web/WebFrameClient.h"
29 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" 29 #include "third_party/WebKit/public/web/WebHistoryCommitType.h"
30 #include "ui/gfx/range/range.h" 30 #include "ui/gfx/range/range.h"
31 31
32 #if defined(OS_ANDROID) 32 #if defined(OS_ANDROID)
33 #include "content/renderer/media/android/renderer_media_player_manager.h" 33 #include "content/renderer/media/android/renderer_media_player_manager.h"
34 #endif 34 #endif
35 35
36 class GURL;
36 class TransportDIB; 37 class TransportDIB;
37 struct FrameMsg_Navigate_Params; 38 struct FrameMsg_Navigate_Params;
38 39
39 namespace blink { 40 namespace blink {
40 class WebGeolocationClient; 41 class WebGeolocationClient;
41 class WebInputEvent; 42 class WebInputEvent;
42 class WebMouseEvent; 43 class WebMouseEvent;
43 class WebContentDecryptionModule; 44 class WebContentDecryptionModule;
44 class WebMediaPlayer; 45 class WebMediaPlayer;
45 class WebNotificationPresenter; 46 class WebNotificationPresenter;
(...skipping 26 matching lines...) Expand all
72 class RendererAccessibility; 73 class RendererAccessibility;
73 class RendererCdmManager; 74 class RendererCdmManager;
74 class RendererMediaPlayerManager; 75 class RendererMediaPlayerManager;
75 class RendererPpapiHost; 76 class RendererPpapiHost;
76 class RenderFrameObserver; 77 class RenderFrameObserver;
77 class RenderViewImpl; 78 class RenderViewImpl;
78 class RenderWidget; 79 class RenderWidget;
79 class RenderWidgetFullscreenPepper; 80 class RenderWidgetFullscreenPepper;
80 class ScreenOrientationDispatcher; 81 class ScreenOrientationDispatcher;
81 class UserMediaClientImpl; 82 class UserMediaClientImpl;
83 struct CommitNavigationParams;
84 struct CoreNavigationParams;
82 struct CustomContextMenuContext; 85 struct CustomContextMenuContext;
83 86
84 class CONTENT_EXPORT RenderFrameImpl 87 class CONTENT_EXPORT RenderFrameImpl
85 : public RenderFrame, 88 : public RenderFrame,
86 NON_EXPORTED_BASE(public blink::WebFrameClient), 89 NON_EXPORTED_BASE(public blink::WebFrameClient),
87 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate) { 90 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate) {
88 public: 91 public:
89 // Creates a new RenderFrame. |render_view| is the RenderView object that this 92 // Creates a new RenderFrame. |render_view| is the RenderView object that this
90 // frame belongs to. 93 // frame belongs to.
91 // Callers *must* call |SetWebFrame| immediately after creation. 94 // Callers *must* call |SetWebFrame| immediately after creation.
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 int start, int end, 531 int start, int end,
529 const std::vector<blink::WebCompositionUnderline>& underlines); 532 const std::vector<blink::WebCompositionUnderline>& underlines);
530 void OnExtendSelectionAndDelete(int before, int after); 533 void OnExtendSelectionAndDelete(int before, int after);
531 void OnReload(bool ignore_cache); 534 void OnReload(bool ignore_cache);
532 void OnTextSurroundingSelectionRequest(size_t max_length); 535 void OnTextSurroundingSelectionRequest(size_t max_length);
533 void OnAddStyleSheetByURL(const std::string& url); 536 void OnAddStyleSheetByURL(const std::string& url);
534 void OnSetupTransitionView(const std::string& markup); 537 void OnSetupTransitionView(const std::string& markup);
535 void OnBeginExitTransition(const std::string& css_selector); 538 void OnBeginExitTransition(const std::string& css_selector);
536 void OnSetAccessibilityMode(AccessibilityMode new_mode); 539 void OnSetAccessibilityMode(AccessibilityMode new_mode);
537 void OnDisownOpener(); 540 void OnDisownOpener();
541
542 // PlzNavigate
543 void OnCommitNavigation(const GURL& stream_url,
544 const CoreNavigationParams& core_params,
545 const CommitNavigationParams& commit_params);
546
538 #if defined(OS_ANDROID) 547 #if defined(OS_ANDROID)
539 void OnSelectPopupMenuItems(bool canceled, 548 void OnSelectPopupMenuItems(bool canceled,
540 const std::vector<int>& selected_indices); 549 const std::vector<int>& selected_indices);
541 #elif defined(OS_MACOSX) 550 #elif defined(OS_MACOSX)
542 void OnSelectPopupMenuItem(int selected_index); 551 void OnSelectPopupMenuItem(int selected_index);
543 void OnCopyToFindPboard(); 552 void OnCopyToFindPboard();
544 #endif 553 #endif
545 554
546 // Virtual since overridden by WebTestProxy for layout tests. 555 // Virtual since overridden by WebTestProxy for layout tests.
547 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 556 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 #endif 757 #endif
749 758
750 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 759 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
751 760
752 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 761 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
753 }; 762 };
754 763
755 } // namespace content 764 } // namespace content
756 765
757 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 766 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698