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

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

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Address jam@ comments; many minor code and comment updates. Created 3 years, 11 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 17 matching lines...) Expand all
28 #include "content/common/accessibility_mode_enums.h" 28 #include "content/common/accessibility_mode_enums.h"
29 #include "content/common/associated_interface_registry_impl.h" 29 #include "content/common/associated_interface_registry_impl.h"
30 #include "content/common/download/mhtml_save_status.h" 30 #include "content/common/download/mhtml_save_status.h"
31 #include "content/common/frame.mojom.h" 31 #include "content/common/frame.mojom.h"
32 #include "content/common/frame_message_enums.h" 32 #include "content/common/frame_message_enums.h"
33 #include "content/common/host_zoom.mojom.h" 33 #include "content/common/host_zoom.mojom.h"
34 #include "content/common/renderer.mojom.h" 34 #include "content/common/renderer.mojom.h"
35 #include "content/public/common/console_message_level.h" 35 #include "content/public/common/console_message_level.h"
36 #include "content/public/common/javascript_message_type.h" 36 #include "content/public/common/javascript_message_type.h"
37 #include "content/public/common/referrer.h" 37 #include "content/public/common/referrer.h"
38 #include "content/public/common/request_context_type.h"
38 #include "content/public/common/stop_find_action.h" 39 #include "content/public/common/stop_find_action.h"
39 #include "content/public/renderer/render_frame.h" 40 #include "content/public/renderer/render_frame.h"
40 #include "content/renderer/frame_blame_context.h" 41 #include "content/renderer/frame_blame_context.h"
41 #include "content/renderer/mojo/blink_interface_provider_impl.h" 42 #include "content/renderer/mojo/blink_interface_provider_impl.h"
42 #include "content/renderer/renderer_webcookiejar_impl.h" 43 #include "content/renderer/renderer_webcookiejar_impl.h"
43 #include "ipc/ipc_message.h" 44 #include "ipc/ipc_message.h"
44 #include "ipc/ipc_platform_file.h" 45 #include "ipc/ipc_platform_file.h"
45 #include "media/blink/webmediaplayer_delegate.h" 46 #include "media/blink/webmediaplayer_delegate.h"
46 #include "media/blink/webmediaplayer_params.h" 47 #include "media/blink/webmediaplayer_params.h"
47 #include "media/mojo/interfaces/remoting.mojom.h" 48 #include "media/mojo/interfaces/remoting.mojom.h"
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 const base::string16& search_text, 878 const base::string16& search_text,
878 const blink::WebFindOptions& options); 879 const blink::WebFindOptions& options);
879 void OnClearActiveFindMatch(); 880 void OnClearActiveFindMatch();
880 void OnStopFinding(StopFindAction action); 881 void OnStopFinding(StopFindAction action);
881 void OnEnableViewSourceMode(); 882 void OnEnableViewSourceMode();
882 void OnSuppressFurtherDialogs(); 883 void OnSuppressFurtherDialogs();
883 void OnSetHasReceivedUserGesture(); 884 void OnSetHasReceivedUserGesture();
884 void OnFileChooserResponse( 885 void OnFileChooserResponse(
885 const std::vector<content::FileChooserFileInfo>& files); 886 const std::vector<content::FileChooserFileInfo>& files);
886 void OnClearFocusedElement(); 887 void OnClearFocusedElement();
888 void OnBlinkFeatureUsageReport(const std::set<int>& features);
889 void OnMixedContentFoundByTheBrowser(const GURL& main_resource_url,
nasko 2017/01/12 18:32:38 Let's remove the "ByTheBrowser" as it doesn't real
carlosk 2017/01/21 02:54:59 Done both for these browser side methods and for t
890 const GURL& mixed_content_url,
891 RequestContextType request_context_type,
892 bool was_allowed,
893 bool had_redirect);
887 #if defined(OS_ANDROID) 894 #if defined(OS_ANDROID)
888 void OnActivateNearestFindResult(int request_id, float x, float y); 895 void OnActivateNearestFindResult(int request_id, float x, float y);
889 void OnGetNearestFindResult(int request_id, float x, float y); 896 void OnGetNearestFindResult(int request_id, float x, float y);
890 void OnFindMatchRects(int current_version); 897 void OnFindMatchRects(int current_version);
891 #endif 898 #endif
892 899
893 #if defined(USE_EXTERNAL_POPUP_MENU) 900 #if defined(USE_EXTERNAL_POPUP_MENU)
894 #if defined(OS_MACOSX) 901 #if defined(OS_MACOSX)
895 void OnSelectPopupMenuItem(int selected_index); 902 void OnSelectPopupMenuItem(int selected_index);
896 #else 903 #else
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 bool browser_side_navigation_pending_ = false; 1373 bool browser_side_navigation_pending_ = false;
1367 1374
1368 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1375 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1369 1376
1370 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1377 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1371 }; 1378 };
1372 1379
1373 } // namespace content 1380 } // namespace content
1374 1381
1375 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1382 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698