Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDER_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 44 namespace webkit { | 44 namespace webkit { |
| 45 namespace npapi { | 45 namespace npapi { |
| 46 struct WebPluginInfo; | 46 struct WebPluginInfo; |
| 47 } | 47 } |
| 48 } | 48 } |
| 49 | 49 |
| 50 namespace base { | 50 namespace base { |
| 51 class SharedMemory; | 51 class SharedMemory; |
| 52 } | 52 } |
| 53 | 53 |
| 54 namespace gfx { | |
| 55 class Rect; | |
| 56 } | |
| 57 | |
| 54 namespace net { | 58 namespace net { |
| 55 class CookieStore; | 59 class CookieStore; |
| 56 } | 60 } |
| 57 | 61 |
| 58 namespace printing { | 62 namespace printing { |
| 59 class PrinterQuery; | 63 class PrinterQuery; |
| 60 class PrintJobManager; | 64 class PrintJobManager; |
| 61 } | 65 } |
| 62 | 66 |
| 63 struct ViewHostMsg_ScriptedPrint_Params; | 67 struct ViewHostMsg_ScriptedPrint_Params; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 189 | 193 |
| 190 void OnClipboardIsFormatAvailable(ui::Clipboard::FormatType format, | 194 void OnClipboardIsFormatAvailable(ui::Clipboard::FormatType format, |
| 191 ui::Clipboard::Buffer buffer, | 195 ui::Clipboard::Buffer buffer, |
| 192 IPC::Message* reply); | 196 IPC::Message* reply); |
| 193 void OnClipboardReadText(ui::Clipboard::Buffer buffer, IPC::Message* reply); | 197 void OnClipboardReadText(ui::Clipboard::Buffer buffer, IPC::Message* reply); |
| 194 void OnClipboardReadAsciiText(ui::Clipboard::Buffer buffer, | 198 void OnClipboardReadAsciiText(ui::Clipboard::Buffer buffer, |
| 195 IPC::Message* reply); | 199 IPC::Message* reply); |
| 196 void OnClipboardReadHTML(ui::Clipboard::Buffer buffer, IPC::Message* reply); | 200 void OnClipboardReadHTML(ui::Clipboard::Buffer buffer, IPC::Message* reply); |
| 197 #if defined(OS_MACOSX) | 201 #if defined(OS_MACOSX) |
| 198 void OnClipboardFindPboardWriteString(const string16& text); | 202 void OnClipboardFindPboardWriteString(const string16& text); |
| 203 void OnGotCharacterIndexForPoint(const uint index); | |
|
jam
2011/01/21 18:51:07
nit: for input parameters in IPC message dispatche
Robert Sesek
2011/01/21 23:40:07
Done.
| |
| 204 void OnGotFirstRectForRange(const gfx::Rect& rect); | |
| 205 void OnGotStringFromRange(const string16&); | |
| 199 #endif | 206 #endif |
| 200 void OnClipboardReadAvailableTypes(ui::Clipboard::Buffer buffer, | 207 void OnClipboardReadAvailableTypes(ui::Clipboard::Buffer buffer, |
| 201 IPC::Message* reply); | 208 IPC::Message* reply); |
| 202 void OnClipboardReadData(ui::Clipboard::Buffer buffer, const string16& type, | 209 void OnClipboardReadData(ui::Clipboard::Buffer buffer, const string16& type, |
| 203 IPC::Message* reply); | 210 IPC::Message* reply); |
| 204 void OnClipboardReadFilenames(ui::Clipboard::Buffer buffer, | 211 void OnClipboardReadFilenames(ui::Clipboard::Buffer buffer, |
| 205 IPC::Message* reply); | 212 IPC::Message* reply); |
| 206 | 213 |
| 207 void OnCheckNotificationPermission(const GURL& source_url, | 214 void OnCheckNotificationPermission(const GURL& source_url, |
| 208 int* permission_level); | 215 int* permission_level); |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 495 virtual ~CookiesEnabledCompletion(); | 502 virtual ~CookiesEnabledCompletion(); |
| 496 | 503 |
| 497 virtual void RunWithParams(const Tuple1<int>& params); | 504 virtual void RunWithParams(const Tuple1<int>& params); |
| 498 | 505 |
| 499 private: | 506 private: |
| 500 IPC::Message* reply_msg_; | 507 IPC::Message* reply_msg_; |
| 501 scoped_refptr<RenderMessageFilter> filter_; | 508 scoped_refptr<RenderMessageFilter> filter_; |
| 502 }; | 509 }; |
| 503 | 510 |
| 504 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 511 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |