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