OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
7 | 7 |
8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
9 #include <windows.h> | 9 #include <windows.h> |
10 #endif | 10 #endif |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 void OnGetExtensionMessageBundle(const std::string& extension_id, | 321 void OnGetExtensionMessageBundle(const std::string& extension_id, |
322 IPC::Message* reply_msg); | 322 IPC::Message* reply_msg); |
323 void OnGetExtensionMessageBundleOnFileThread( | 323 void OnGetExtensionMessageBundleOnFileThread( |
324 const FilePath& extension_path, | 324 const FilePath& extension_path, |
325 const std::string& extension_id, | 325 const std::string& extension_id, |
326 const std::string& default_locale, | 326 const std::string& default_locale, |
327 IPC::Message* reply_msg); | 327 IPC::Message* reply_msg); |
328 | 328 |
329 void OnTranslateText(ViewHostMsg_TranslateTextParam param); | 329 void OnTranslateText(ViewHostMsg_TranslateTextParam param); |
330 | 330 |
| 331 void OnEstablishGpuChannel(); |
| 332 void OnSynchronizeGpu(IPC::Message* reply); |
| 333 |
331 #if defined(USE_X11) | 334 #if defined(USE_X11) |
332 void SendDelayedReply(IPC::Message* reply_msg); | 335 void SendDelayedReply(IPC::Message* reply_msg); |
333 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg); | 336 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg); |
334 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); | 337 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); |
335 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); | 338 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); |
336 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format, | 339 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format, |
337 Clipboard::Buffer buffer, | 340 Clipboard::Buffer buffer, |
338 IPC::Message* reply_msg); | 341 IPC::Message* reply_msg); |
339 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg); | 342 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg); |
340 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer, | 343 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 // Used to translate page contents from one language to another. | 417 // Used to translate page contents from one language to another. |
415 TranslationService translation_service_; | 418 TranslationService translation_service_; |
416 | 419 |
417 // Used to handle geolocation-related messages. | 420 // Used to handle geolocation-related messages. |
418 scoped_refptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 421 scoped_refptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
419 | 422 |
420 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 423 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
421 }; | 424 }; |
422 | 425 |
423 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 426 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
OLD | NEW |