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

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, 6 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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 #if defined(OS_MACOSX) 753 #if defined(OS_MACOSX)
754 void OnCopyToFindPboard(); 754 void OnCopyToFindPboard();
755 #endif 755 #endif
756 756
757 // Dispatches the current state of selection on the webpage to the browser if 757 // Dispatches the current state of selection on the webpage to the browser if
758 // it has changed. 758 // it has changed.
759 // TODO(varunjain): delete this method once we figure out how to keep 759 // TODO(varunjain): delete this method once we figure out how to keep
760 // selection handles in sync with the webpage. 760 // selection handles in sync with the webpage.
761 void SyncSelectionIfRequired(); 761 void SyncSelectionIfRequired();
762 762
763 void QueueReport(const GURL& url,
764 const std::string& group,
765 const std::string& type,
766 std::unique_ptr<base::Value> body);
767
763 protected: 768 protected:
764 explicit RenderFrameImpl(const CreateParams& params); 769 explicit RenderFrameImpl(const CreateParams& params);
765 770
766 private: 771 private:
767 friend class RenderFrameImplTest; 772 friend class RenderFrameImplTest;
768 friend class RenderFrameObserver; 773 friend class RenderFrameObserver;
769 friend class RenderAccessibilityImplTest; 774 friend class RenderAccessibilityImplTest;
770 friend class TestRenderFrame; 775 friend class TestRenderFrame;
771 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem); 776 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem);
772 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 777 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; 1421 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_;
1417 1422
1418 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1423 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1419 1424
1420 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1425 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1421 }; 1426 };
1422 1427
1423 } // namespace content 1428 } // namespace content
1424 1429
1425 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1430 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698