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

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

Issue 2881593002: Reporting: Plumb into RenderFrame via Mojo (Closed)
Patch Set: rebase, make requested changes, format 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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void QueueReport(const GURL& url,
766 const std::string& group,
767 const std::string& type,
768 std::unique_ptr<base::Value> body);
769
765 protected: 770 protected:
766 explicit RenderFrameImpl(const CreateParams& params); 771 explicit RenderFrameImpl(const CreateParams& params);
767 772
768 private: 773 private:
769 friend class RenderFrameImplTest; 774 friend class RenderFrameImplTest;
770 friend class RenderFrameObserver; 775 friend class RenderFrameObserver;
771 friend class RenderAccessibilityImplTest; 776 friend class RenderAccessibilityImplTest;
772 friend class TestRenderFrame; 777 friend class TestRenderFrame;
773 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem); 778 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem);
774 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 779 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; 1479 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_;
1475 1480
1476 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1481 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1477 1482
1478 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1483 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1479 }; 1484 };
1480 1485
1481 } // namespace content 1486 } // namespace content
1482 1487
1483 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1488 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698