| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 friend class DeleteTask<RenderMessageFilter>; | 94 friend class DeleteTask<RenderMessageFilter>; |
| 95 | 95 |
| 96 virtual ~RenderMessageFilter(); | 96 virtual ~RenderMessageFilter(); |
| 97 | 97 |
| 98 void OnMsgCreateWindow(const ViewHostMsg_CreateWindow_Params& params, | 98 void OnMsgCreateWindow(const ViewHostMsg_CreateWindow_Params& params, |
| 99 int* route_id, | 99 int* route_id, |
| 100 int64* cloned_session_storage_namespace_id); | 100 int64* cloned_session_storage_namespace_id); |
| 101 void OnMsgCreateWidget(int opener_id, | 101 void OnMsgCreateWidget(int opener_id, |
| 102 WebKit::WebPopupType popup_type, | 102 WebKit::WebPopupType popup_type, |
| 103 int* route_id); | 103 int* route_id); |
| 104 void OnMsgCreateFullscreenWidget(int opener_id, | 104 void OnMsgCreateFullscreenWidget(int opener_id, int* route_id); |
| 105 WebKit::WebPopupType popup_type, | |
| 106 int* route_id); | |
| 107 void OnSetCookie(const IPC::Message& message, | 105 void OnSetCookie(const IPC::Message& message, |
| 108 const GURL& url, | 106 const GURL& url, |
| 109 const GURL& first_party_for_cookies, | 107 const GURL& first_party_for_cookies, |
| 110 const std::string& cookie); | 108 const std::string& cookie); |
| 111 void OnGetCookies(const GURL& url, | 109 void OnGetCookies(const GURL& url, |
| 112 const GURL& first_party_for_cookies, | 110 const GURL& first_party_for_cookies, |
| 113 IPC::Message* reply_msg); | 111 IPC::Message* reply_msg); |
| 114 void OnGetRawCookies(const GURL& url, | 112 void OnGetRawCookies(const GURL& url, |
| 115 const GURL& first_party_for_cookies, | 113 const GURL& first_party_for_cookies, |
| 116 IPC::Message* reply_msg); | 114 IPC::Message* reply_msg); |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 virtual ~CookiesEnabledCompletion(); | 493 virtual ~CookiesEnabledCompletion(); |
| 496 | 494 |
| 497 virtual void RunWithParams(const Tuple1<int>& params); | 495 virtual void RunWithParams(const Tuple1<int>& params); |
| 498 | 496 |
| 499 private: | 497 private: |
| 500 IPC::Message* reply_msg_; | 498 IPC::Message* reply_msg_; |
| 501 scoped_refptr<RenderMessageFilter> filter_; | 499 scoped_refptr<RenderMessageFilter> filter_; |
| 502 }; | 500 }; |
| 503 | 501 |
| 504 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 502 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |