| 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 18 matching lines...) Expand all Loading... |
| 29 #include "base/single_thread_task_runner.h" | 29 #include "base/single_thread_task_runner.h" |
| 30 #include "base/unguessable_token.h" | 30 #include "base/unguessable_token.h" |
| 31 #include "build/build_config.h" | 31 #include "build/build_config.h" |
| 32 #include "content/common/accessibility_mode.h" | 32 #include "content/common/accessibility_mode.h" |
| 33 #include "content/common/associated_interface_registry_impl.h" | 33 #include "content/common/associated_interface_registry_impl.h" |
| 34 #include "content/common/download/mhtml_save_status.h" | 34 #include "content/common/download/mhtml_save_status.h" |
| 35 #include "content/common/features.h" | 35 #include "content/common/features.h" |
| 36 #include "content/common/frame.mojom.h" | 36 #include "content/common/frame.mojom.h" |
| 37 #include "content/common/frame_message_enums.h" | 37 #include "content/common/frame_message_enums.h" |
| 38 #include "content/common/host_zoom.mojom.h" | 38 #include "content/common/host_zoom.mojom.h" |
| 39 #include "content/common/net/reporting.mojom.h" |
| 39 #include "content/common/renderer.mojom.h" | 40 #include "content/common/renderer.mojom.h" |
| 40 #include "content/common/url_loader_factory.mojom.h" | 41 #include "content/common/url_loader_factory.mojom.h" |
| 41 #include "content/public/common/console_message_level.h" | 42 #include "content/public/common/console_message_level.h" |
| 42 #include "content/public/common/javascript_dialog_type.h" | 43 #include "content/public/common/javascript_dialog_type.h" |
| 43 #include "content/public/common/previews_state.h" | 44 #include "content/public/common/previews_state.h" |
| 44 #include "content/public/common/referrer.h" | 45 #include "content/public/common/referrer.h" |
| 45 #include "content/public/common/request_context_type.h" | 46 #include "content/public/common/request_context_type.h" |
| 46 #include "content/public/common/stop_find_action.h" | 47 #include "content/public/common/stop_find_action.h" |
| 47 #include "content/public/renderer/render_frame.h" | 48 #include "content/public/renderer/render_frame.h" |
| 48 #include "content/renderer/frame_blame_context.h" | 49 #include "content/renderer/frame_blame_context.h" |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance); | 760 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance); |
| 760 | 761 |
| 761 // Notification that the given plugin is focused or unfocused. | 762 // Notification that the given plugin is focused or unfocused. |
| 762 void PepperFocusChanged(PepperPluginInstanceImpl* instance, bool focused); | 763 void PepperFocusChanged(PepperPluginInstanceImpl* instance, bool focused); |
| 763 | 764 |
| 764 void PepperStartsPlayback(PepperPluginInstanceImpl* instance); | 765 void PepperStartsPlayback(PepperPluginInstanceImpl* instance); |
| 765 void PepperStopsPlayback(PepperPluginInstanceImpl* instance); | 766 void PepperStopsPlayback(PepperPluginInstanceImpl* instance); |
| 766 void OnSetPepperVolume(int32_t pp_instance, double volume); | 767 void OnSetPepperVolume(int32_t pp_instance, double volume); |
| 767 #endif // ENABLE_PLUGINS | 768 #endif // ENABLE_PLUGINS |
| 768 | 769 |
| 770 void QueueReport(const GURL& url, |
| 771 const std::string& group, |
| 772 mojom::ReportingReportType type, |
| 773 std::unique_ptr<base::Value> body); |
| 774 |
| 769 protected: | 775 protected: |
| 770 explicit RenderFrameImpl(const CreateParams& params); | 776 explicit RenderFrameImpl(const CreateParams& params); |
| 771 | 777 |
| 772 private: | 778 private: |
| 773 friend class RenderFrameImplTest; | 779 friend class RenderFrameImplTest; |
| 774 friend class RenderFrameObserver; | 780 friend class RenderFrameObserver; |
| 775 friend class RenderAccessibilityImplTest; | 781 friend class RenderAccessibilityImplTest; |
| 776 friend class TestRenderFrame; | 782 friend class TestRenderFrame; |
| 777 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem); | 783 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem); |
| 778 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); | 784 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1478 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; | 1484 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
| 1479 | 1485 |
| 1480 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1486 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1481 | 1487 |
| 1482 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1488 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1483 }; | 1489 }; |
| 1484 | 1490 |
| 1485 } // namespace content | 1491 } // namespace content |
| 1486 | 1492 |
| 1487 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1493 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |