| 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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance); | 755 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance); |
| 756 | 756 |
| 757 // Notification that the given plugin is focused or unfocused. | 757 // Notification that the given plugin is focused or unfocused. |
| 758 void PepperFocusChanged(PepperPluginInstanceImpl* instance, bool focused); | 758 void PepperFocusChanged(PepperPluginInstanceImpl* instance, bool focused); |
| 759 | 759 |
| 760 void PepperStartsPlayback(PepperPluginInstanceImpl* instance); | 760 void PepperStartsPlayback(PepperPluginInstanceImpl* instance); |
| 761 void PepperStopsPlayback(PepperPluginInstanceImpl* instance); | 761 void PepperStopsPlayback(PepperPluginInstanceImpl* instance); |
| 762 void OnSetPepperVolume(int32_t pp_instance, double volume); | 762 void OnSetPepperVolume(int32_t pp_instance, double volume); |
| 763 #endif // ENABLE_PLUGINS | 763 #endif // ENABLE_PLUGINS |
| 764 | 764 |
| 765 mojom::URLLoaderFactory* GetURLLoaderFactory() { | |
| 766 return url_loader_factory_.get(); | |
| 767 } | |
| 768 | |
| 769 protected: | 765 protected: |
| 770 explicit RenderFrameImpl(const CreateParams& params); | 766 explicit RenderFrameImpl(const CreateParams& params); |
| 771 | 767 |
| 772 private: | 768 private: |
| 773 friend class RenderFrameImplTest; | 769 friend class RenderFrameImplTest; |
| 774 friend class RenderFrameObserver; | 770 friend class RenderFrameObserver; |
| 775 friend class RenderAccessibilityImplTest; | 771 friend class RenderAccessibilityImplTest; |
| 776 friend class TestRenderFrame; | 772 friend class TestRenderFrame; |
| 777 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem); | 773 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem); |
| 778 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); | 774 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_; | 1474 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
| 1479 | 1475 |
| 1480 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1476 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1481 | 1477 |
| 1482 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1478 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1483 }; | 1479 }; |
| 1484 | 1480 |
| 1485 } // namespace content | 1481 } // namespace content |
| 1486 | 1482 |
| 1487 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1483 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |