OLD | NEW |
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 Loading... |
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_dialog_type.h" | 37 #include "content/public/common/javascript_dialog_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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 void OnFind(int request_id, | 901 void OnFind(int request_id, |
901 const base::string16& search_text, | 902 const base::string16& search_text, |
902 const blink::WebFindOptions& options); | 903 const blink::WebFindOptions& options); |
903 void OnClearActiveFindMatch(); | 904 void OnClearActiveFindMatch(); |
904 void OnStopFinding(StopFindAction action); | 905 void OnStopFinding(StopFindAction action); |
905 void OnEnableViewSourceMode(); | 906 void OnEnableViewSourceMode(); |
906 void OnSuppressFurtherDialogs(); | 907 void OnSuppressFurtherDialogs(); |
907 void OnFileChooserResponse( | 908 void OnFileChooserResponse( |
908 const std::vector<content::FileChooserFileInfo>& files); | 909 const std::vector<content::FileChooserFileInfo>& files); |
909 void OnClearFocusedElement(); | 910 void OnClearFocusedElement(); |
| 911 void OnBlinkFeatureUsageReport(const std::set<int>& features); |
| 912 void OnMixedContentFound(const GURL& main_resource_url, |
| 913 const GURL& mixed_content_url, |
| 914 RequestContextType request_context_type, |
| 915 bool was_allowed, |
| 916 bool had_redirect); |
910 #if defined(OS_ANDROID) | 917 #if defined(OS_ANDROID) |
911 void OnActivateNearestFindResult(int request_id, float x, float y); | 918 void OnActivateNearestFindResult(int request_id, float x, float y); |
912 void OnGetNearestFindResult(int request_id, float x, float y); | 919 void OnGetNearestFindResult(int request_id, float x, float y); |
913 void OnFindMatchRects(int current_version); | 920 void OnFindMatchRects(int current_version); |
914 #endif | 921 #endif |
915 | 922 |
916 #if defined(USE_EXTERNAL_POPUP_MENU) | 923 #if defined(USE_EXTERNAL_POPUP_MENU) |
917 #if defined(OS_MACOSX) | 924 #if defined(OS_MACOSX) |
918 void OnSelectPopupMenuItem(int selected_index); | 925 void OnSelectPopupMenuItem(int selected_index); |
919 #else | 926 #else |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1384 int enabled_bindings_ = 0; | 1391 int enabled_bindings_ = 0; |
1385 | 1392 |
1386 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1393 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1387 | 1394 |
1388 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1395 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1389 }; | 1396 }; |
1390 | 1397 |
1391 } // namespace content | 1398 } // namespace content |
1392 | 1399 |
1393 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1400 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |