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

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: Now using shared scheme collections from url_util.h. 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 19 matching lines...) Expand all
30 #include "content/common/associated_interface_registry_impl.h" 30 #include "content/common/associated_interface_registry_impl.h"
31 #include "content/common/download/mhtml_save_status.h" 31 #include "content/common/download/mhtml_save_status.h"
32 #include "content/common/frame.mojom.h" 32 #include "content/common/frame.mojom.h"
33 #include "content/common/frame_message_enums.h" 33 #include "content/common/frame_message_enums.h"
34 #include "content/common/host_zoom.mojom.h" 34 #include "content/common/host_zoom.mojom.h"
35 #include "content/common/renderer.mojom.h" 35 #include "content/common/renderer.mojom.h"
36 #include "content/public/common/console_message_level.h" 36 #include "content/public/common/console_message_level.h"
37 #include "content/public/common/javascript_message_type.h" 37 #include "content/public/common/javascript_message_type.h"
38 #include "content/public/common/previews_state.h" 38 #include "content/public/common/previews_state.h"
39 #include "content/public/common/referrer.h" 39 #include "content/public/common/referrer.h"
40 #include "content/public/common/request_context_type.h"
40 #include "content/public/common/stop_find_action.h" 41 #include "content/public/common/stop_find_action.h"
41 #include "content/public/renderer/render_frame.h" 42 #include "content/public/renderer/render_frame.h"
42 #include "content/renderer/frame_blame_context.h" 43 #include "content/renderer/frame_blame_context.h"
43 #include "content/renderer/mojo/blink_interface_provider_impl.h" 44 #include "content/renderer/mojo/blink_interface_provider_impl.h"
44 #include "content/renderer/renderer_webcookiejar_impl.h" 45 #include "content/renderer/renderer_webcookiejar_impl.h"
45 #include "ipc/ipc_message.h" 46 #include "ipc/ipc_message.h"
46 #include "ipc/ipc_platform_file.h" 47 #include "ipc/ipc_platform_file.h"
47 #include "media/blink/webmediaplayer_delegate.h" 48 #include "media/blink/webmediaplayer_delegate.h"
48 #include "media/blink/webmediaplayer_params.h" 49 #include "media/blink/webmediaplayer_params.h"
49 #include "media/mojo/interfaces/remoting.mojom.h" 50 #include "media/mojo/interfaces/remoting.mojom.h"
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 void OnFind(int request_id, 892 void OnFind(int request_id,
892 const base::string16& search_text, 893 const base::string16& search_text,
893 const blink::WebFindOptions& options); 894 const blink::WebFindOptions& options);
894 void OnClearActiveFindMatch(); 895 void OnClearActiveFindMatch();
895 void OnStopFinding(StopFindAction action); 896 void OnStopFinding(StopFindAction action);
896 void OnEnableViewSourceMode(); 897 void OnEnableViewSourceMode();
897 void OnSuppressFurtherDialogs(); 898 void OnSuppressFurtherDialogs();
898 void OnFileChooserResponse( 899 void OnFileChooserResponse(
899 const std::vector<content::FileChooserFileInfo>& files); 900 const std::vector<content::FileChooserFileInfo>& files);
900 void OnClearFocusedElement(); 901 void OnClearFocusedElement();
902 void OnBlinkFeatureUsageReport(const std::set<int>& features);
903 void OnMixedContentFound(const GURL& main_resource_url,
904 const GURL& mixed_content_url,
905 RequestContextType request_context_type,
906 bool was_allowed,
907 bool had_redirect);
901 #if defined(OS_ANDROID) 908 #if defined(OS_ANDROID)
902 void OnActivateNearestFindResult(int request_id, float x, float y); 909 void OnActivateNearestFindResult(int request_id, float x, float y);
903 void OnGetNearestFindResult(int request_id, float x, float y); 910 void OnGetNearestFindResult(int request_id, float x, float y);
904 void OnFindMatchRects(int current_version); 911 void OnFindMatchRects(int current_version);
905 #endif 912 #endif
906 913
907 #if defined(USE_EXTERNAL_POPUP_MENU) 914 #if defined(USE_EXTERNAL_POPUP_MENU)
908 #if defined(OS_MACOSX) 915 #if defined(OS_MACOSX)
909 void OnSelectPopupMenuItem(int selected_index); 916 void OnSelectPopupMenuItem(int selected_index);
910 #else 917 #else
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 bool browser_side_navigation_pending_ = false; 1389 bool browser_side_navigation_pending_ = false;
1383 1390
1384 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1391 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1385 1392
1386 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1393 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1387 }; 1394 };
1388 1395
1389 } // namespace content 1396 } // namespace content
1390 1397
1391 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1398 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698