| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 ViewHostMsg_CreateWindow_Reply* reply); | 125 ViewHostMsg_CreateWindow_Reply* reply); |
| 126 void OnCreateWidget(int opener_id, | 126 void OnCreateWidget(int opener_id, |
| 127 blink::WebPopupType popup_type, | 127 blink::WebPopupType popup_type, |
| 128 int* route_id); | 128 int* route_id); |
| 129 void OnCreateFullscreenWidget(int opener_id, int* route_id); | 129 void OnCreateFullscreenWidget(int opener_id, int* route_id); |
| 130 | 130 |
| 131 #if defined(OS_MACOSX) | 131 #if defined(OS_MACOSX) |
| 132 // Messages for OOP font loading. | 132 // Messages for OOP font loading. |
| 133 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg); | 133 void OnLoadFont(const FontDescriptor& font, IPC::Message* reply_msg); |
| 134 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result); | 134 void SendLoadFontReply(IPC::Message* reply, FontLoader::Result* result); |
| 135 #elif defined(OS_WIN) | |
| 136 void OnPreCacheFontCharacters(const LOGFONT& log_font, | |
| 137 const base::string16& characters); | |
| 138 #endif | 135 #endif |
| 139 | 136 |
| 140 void OnGenerateRoutingID(int* route_id); | 137 void OnGenerateRoutingID(int* route_id); |
| 141 | 138 |
| 142 // Message handlers called on the browser IO thread: | 139 // Message handlers called on the browser IO thread: |
| 143 void OnEstablishGpuChannel(IPC::Message* reply); | 140 void OnEstablishGpuChannel(IPC::Message* reply); |
| 144 void OnHasGpuProcess(IPC::Message* reply); | 141 void OnHasGpuProcess(IPC::Message* reply); |
| 145 // Helper callbacks for the message handlers. | 142 // Helper callbacks for the message handlers. |
| 146 void EstablishChannelCallback(std::unique_ptr<IPC::Message> reply, | 143 void EstablishChannelCallback(std::unique_ptr<IPC::Message> reply, |
| 147 const IPC::ChannelHandle& channel, | 144 const IPC::ChannelHandle& channel, |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 CacheStorageContextImpl* cache_storage_context_; | 242 CacheStorageContextImpl* cache_storage_context_; |
| 246 | 243 |
| 247 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; | 244 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; |
| 248 | 245 |
| 249 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 246 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
| 250 }; | 247 }; |
| 251 | 248 |
| 252 } // namespace content | 249 } // namespace content |
| 253 | 250 |
| 254 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |