| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_MSG_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ |
| 7 | 7 |
| 8 #include "base/clipboard.h" | 8 #include "base/clipboard.h" |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 void OnReceiveContextMenuMsg(const IPC::Message& msg); | 143 void OnReceiveContextMenuMsg(const IPC::Message& msg); |
| 144 // Clipboard messages | 144 // Clipboard messages |
| 145 void OnClipboardWriteObjects(const Clipboard::ObjectMap& objects); | 145 void OnClipboardWriteObjects(const Clipboard::ObjectMap& objects); |
| 146 void OnClipboardIsFormatAvailable(unsigned int format, bool* result); | 146 void OnClipboardIsFormatAvailable(unsigned int format, bool* result); |
| 147 void OnClipboardReadText(std::wstring* result); | 147 void OnClipboardReadText(std::wstring* result); |
| 148 void OnClipboardReadAsciiText(std::string* result); | 148 void OnClipboardReadAsciiText(std::string* result); |
| 149 void OnClipboardReadHTML(std::wstring* markup, GURL* src_url); | 149 void OnClipboardReadHTML(std::wstring* markup, GURL* src_url); |
| 150 #if defined(OS_WIN) | 150 #if defined(OS_WIN) |
| 151 void OnGetWindowRect(gfx::NativeViewId window, gfx::Rect *rect); | 151 void OnGetWindowRect(gfx::NativeViewId window, gfx::Rect *rect); |
| 152 void OnGetRootWindowRect(gfx::NativeViewId window, gfx::Rect *rect); | 152 void OnGetRootWindowRect(gfx::NativeViewId window, gfx::Rect *rect); |
| 153 void OnGetRootWindowResizerRect(gfx::NativeViewId window, gfx::Rect *rect); | |
| 154 #endif | 153 #endif |
| 155 void OnGetMimeTypeFromExtension(const std::wstring& ext, | 154 void OnGetMimeTypeFromExtension(const std::wstring& ext, |
| 156 std::string* mime_type); | 155 std::string* mime_type); |
| 157 void OnGetMimeTypeFromFile(const std::wstring& file_path, | 156 void OnGetMimeTypeFromFile(const std::wstring& file_path, |
| 158 std::string* mime_type); | 157 std::string* mime_type); |
| 159 void OnGetPreferredExtensionForMimeType(const std::string& mime_type, | 158 void OnGetPreferredExtensionForMimeType(const std::string& mime_type, |
| 160 std::wstring* ext); | 159 std::wstring* ext); |
| 161 void OnGetCPBrowsingContext(uint32* context); | 160 void OnGetCPBrowsingContext(uint32* context); |
| 162 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, | 161 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, |
| 163 base::SharedMemoryHandle* browser_handle); | 162 base::SharedMemoryHandle* browser_handle); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 // This is void* to prevent people from accidentally dereferencing it. | 235 // This is void* to prevent people from accidentally dereferencing it. |
| 237 // When registering for observers, cast to Profile*. | 236 // When registering for observers, cast to Profile*. |
| 238 void* profile_; | 237 void* profile_; |
| 239 | 238 |
| 240 scoped_refptr<RenderWidgetHelper> render_widget_helper_; | 239 scoped_refptr<RenderWidgetHelper> render_widget_helper_; |
| 241 | 240 |
| 242 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 241 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
| 243 }; | 242 }; |
| 244 | 243 |
| 245 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ | 244 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ |
| OLD | NEW |