OLD | NEW |
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_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void OnGetProcessMemorySizes(size_t* private_bytes, size_t* shared_bytes); | 105 void OnGetProcessMemorySizes(size_t* private_bytes, size_t* shared_bytes); |
106 | 106 |
107 #if defined(OS_MACOSX) | 107 #if defined(OS_MACOSX) |
108 // Messages for OOP font loading. | 108 // Messages for OOP font loading. |
109 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg); | 109 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg); |
110 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result); | 110 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result); |
111 #endif | 111 #endif |
112 | 112 |
113 // mojom::RenderMessageFilter: | 113 // mojom::RenderMessageFilter: |
114 void GenerateRoutingID(const GenerateRoutingIDCallback& routing_id) override; | 114 void GenerateRoutingID(const GenerateRoutingIDCallback& routing_id) override; |
115 void CreateNewWindow(mojom::CreateNewWindowParamsPtr params, | |
116 const CreateNewWindowCallback& callback) override; | |
117 void CreateNewWidget(int32_t opener_id, | 115 void CreateNewWidget(int32_t opener_id, |
118 blink::WebPopupType popup_type, | 116 blink::WebPopupType popup_type, |
119 const CreateNewWidgetCallback& callback) override; | 117 const CreateNewWidgetCallback& callback) override; |
120 void CreateFullscreenWidget( | 118 void CreateFullscreenWidget( |
121 int opener_id, | 119 int opener_id, |
122 const CreateFullscreenWidgetCallback& callback) override; | 120 const CreateFullscreenWidgetCallback& callback) override; |
123 void GetSharedBitmapManager( | 121 void GetSharedBitmapManager( |
124 cc::mojom::SharedBitmapManagerAssociatedRequest request) override; | 122 cc::mojom::SharedBitmapManagerAssociatedRequest request) override; |
125 | 123 |
126 // Message handlers called on the browser IO thread: | 124 // Message handlers called on the browser IO thread: |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 CacheStorageContextImpl* cache_storage_context_; | 179 CacheStorageContextImpl* cache_storage_context_; |
182 | 180 |
183 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; | 181 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; |
184 | 182 |
185 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 183 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
186 }; | 184 }; |
187 | 185 |
188 } // namespace content | 186 } // namespace content |
189 | 187 |
190 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 188 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |