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

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: Addressed Nasko's comments 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 16 matching lines...) Expand all
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 TransportDIB; 36 class TransportDIB;
37 struct FrameMsg_CommitNavigation_Params;
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;
46 class WebPushClient; 47 class WebPushClient;
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 int start, int end, 521 int start, int end,
521 const std::vector<blink::WebCompositionUnderline>& underlines); 522 const std::vector<blink::WebCompositionUnderline>& underlines);
522 void OnExtendSelectionAndDelete(int before, int after); 523 void OnExtendSelectionAndDelete(int before, int after);
523 void OnReload(bool ignore_cache); 524 void OnReload(bool ignore_cache);
524 void OnTextSurroundingSelectionRequest(size_t max_length); 525 void OnTextSurroundingSelectionRequest(size_t max_length);
525 void OnAddStyleSheetByURL(const std::string& url); 526 void OnAddStyleSheetByURL(const std::string& url);
526 void OnSetupTransitionView(const std::string& markup); 527 void OnSetupTransitionView(const std::string& markup);
527 void OnBeginExitTransition(const std::string& css_selector); 528 void OnBeginExitTransition(const std::string& css_selector);
528 void OnSetAccessibilityMode(AccessibilityMode new_mode); 529 void OnSetAccessibilityMode(AccessibilityMode new_mode);
529 void OnDisownOpener(); 530 void OnDisownOpener();
531
532 //PlzNavigate
533 void OnCommitNavigation(const FrameMsg_CommitNavigation_Params& params);
534
530 #if defined(OS_ANDROID) 535 #if defined(OS_ANDROID)
531 void OnSelectPopupMenuItems(bool canceled, 536 void OnSelectPopupMenuItems(bool canceled,
532 const std::vector<int>& selected_indices); 537 const std::vector<int>& selected_indices);
533 #elif defined(OS_MACOSX) 538 #elif defined(OS_MACOSX)
534 void OnSelectPopupMenuItem(int selected_index); 539 void OnSelectPopupMenuItem(int selected_index);
535 void OnCopyToFindPboard(); 540 void OnCopyToFindPboard();
536 #endif 541 #endif
537 542
538 // Virtual since overridden by WebTestProxy for layout tests. 543 // Virtual since overridden by WebTestProxy for layout tests.
539 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 544 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 #endif 736 #endif
732 737
733 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 738 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
734 739
735 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 740 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
736 }; 741 };
737 742
738 } // namespace content 743 } // namespace content
739 744
740 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 745 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698