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

Side by Side Diff: content/public/test/mock_render_thread.h

Issue 2156883002: Use content::FrameOwnerProperties instead of blink::WebFrameOwnerProperties in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-frame-owner-properties
Patch Set: Use this everywhere Created 4 years, 5 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
« no previous file with comments | « content/common/frame_owner_properties.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 13 matching lines...) Expand all
24 struct ViewHostMsg_CreateWindow_Reply; 24 struct ViewHostMsg_CreateWindow_Reply;
25 25
26 namespace IPC { 26 namespace IPC {
27 class MessageFilter; 27 class MessageFilter;
28 class MessageReplyDeserializer; 28 class MessageReplyDeserializer;
29 } 29 }
30 30
31 namespace blink { 31 namespace blink {
32 enum class WebSandboxFlags; 32 enum class WebSandboxFlags;
33 enum class WebTreeScopeType; 33 enum class WebTreeScopeType;
34 struct WebFrameOwnerProperties;
35 } 34 }
36 35
37 namespace content { 36 namespace content {
38 37
39 // This class is a very simple mock of RenderThread. It simulates an IPC channel 38 // This class is a very simple mock of RenderThread. It simulates an IPC channel
40 // which supports only three messages: 39 // which supports only three messages:
41 // ViewHostMsg_CreateWidget : sync message sent by the Widget. 40 // ViewHostMsg_CreateWidget : sync message sent by the Widget.
42 // ViewHostMsg_CreateWindow : sync message sent by the Widget. 41 // ViewHostMsg_CreateWindow : sync message sent by the Widget.
43 // ViewMsg_Close : async, send to the Widget. 42 // ViewMsg_Close : async, send to the Widget.
44 class MockRenderThread : public RenderThread { 43 class MockRenderThread : public RenderThread {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 cc::TestSharedBitmapManager shared_bitmap_manager_; 162 cc::TestSharedBitmapManager shared_bitmap_manager_;
164 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; 163 std::unique_ptr<shell::InterfaceRegistry> interface_registry_;
165 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; 164 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_;
166 shell::mojom::InterfaceProviderRequest 165 shell::mojom::InterfaceProviderRequest
167 pending_remote_interface_provider_request_; 166 pending_remote_interface_provider_request_;
168 }; 167 };
169 168
170 } // namespace content 169 } // namespace content
171 170
172 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 171 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/frame_owner_properties.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698