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

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: Addressed all jam@ latest comments. 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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 const base::string16& search_text, 876 const base::string16& search_text,
876 const blink::WebFindOptions& options); 877 const blink::WebFindOptions& options);
877 void OnClearActiveFindMatch(); 878 void OnClearActiveFindMatch();
878 void OnStopFinding(StopFindAction action); 879 void OnStopFinding(StopFindAction action);
879 void OnEnableViewSourceMode(); 880 void OnEnableViewSourceMode();
880 void OnSuppressFurtherDialogs(); 881 void OnSuppressFurtherDialogs();
881 void OnSetHasReceivedUserGesture(); 882 void OnSetHasReceivedUserGesture();
882 void OnFileChooserResponse( 883 void OnFileChooserResponse(
883 const std::vector<content::FileChooserFileInfo>& files); 884 const std::vector<content::FileChooserFileInfo>& files);
884 void OnClearFocusedElement(); 885 void OnClearFocusedElement();
886 void OnBlinkFeatureUsageReport(const std::set<int>& features);
887 void OnMixedContentFoundByTheBrowser(const GURL& main_resource_url,
888 const GURL& mixed_content_url,
889 RequestContextType request_context_type,
890 bool was_allowed,
891 bool had_redirect);
885 #if defined(OS_ANDROID) 892 #if defined(OS_ANDROID)
886 void OnActivateNearestFindResult(int request_id, float x, float y); 893 void OnActivateNearestFindResult(int request_id, float x, float y);
887 void OnGetNearestFindResult(int request_id, float x, float y); 894 void OnGetNearestFindResult(int request_id, float x, float y);
888 void OnFindMatchRects(int current_version); 895 void OnFindMatchRects(int current_version);
889 #endif 896 #endif
890 897
891 #if defined(USE_EXTERNAL_POPUP_MENU) 898 #if defined(USE_EXTERNAL_POPUP_MENU)
892 #if defined(OS_MACOSX) 899 #if defined(OS_MACOSX)
893 void OnSelectPopupMenuItem(int selected_index); 900 void OnSelectPopupMenuItem(int selected_index);
894 #else 901 #else
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 bool browser_side_navigation_pending_ = false; 1371 bool browser_side_navigation_pending_ = false;
1365 1372
1366 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1373 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1367 1374
1368 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1375 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1369 }; 1376 };
1370 1377
1371 } // namespace content 1378 } // namespace content
1372 1379
1373 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1380 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698