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

Side by Side Diff: content/renderer/render_frame_impl.h

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

Powered by Google App Engine
This is Rietveld 408576698