| 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_RESOURCE_MSG_FILTER_H__ | 5 #ifndef CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ |
| 6 #define CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ | 6 #define CHROME_BROWSER_RENDERER_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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 HANDLE renderer_handle() const { return render_handle_;} | 71 HANDLE renderer_handle() const { return render_handle_;} |
| 72 | 72 |
| 73 // NotificationObserver implementation. | 73 // NotificationObserver implementation. |
| 74 virtual void Observe(NotificationType type, | 74 virtual void Observe(NotificationType type, |
| 75 const NotificationSource& source, | 75 const NotificationSource& source, |
| 76 const NotificationDetails& details); | 76 const NotificationDetails& details); |
| 77 | 77 |
| 78 private: | 78 private: |
| 79 void OnMsgCreateWindow(int opener_id, bool user_gesture, int* route_id, | 79 void OnMsgCreateWindow(int opener_id, bool user_gesture, int* route_id, |
| 80 HANDLE* modal_dialog_event); | 80 HANDLE* modal_dialog_event); |
| 81 void OnMsgCreateWidget(int opener_id, bool focus_on_show, int* route_id); | 81 void OnMsgCreateWidget(int opener_id, bool activatable, int* route_id); |
| 82 void OnRequestResource(const IPC::Message& msg, int request_id, | 82 void OnRequestResource(const IPC::Message& msg, int request_id, |
| 83 const ViewHostMsg_Resource_Request& request); | 83 const ViewHostMsg_Resource_Request& request); |
| 84 void OnCancelRequest(int request_id); | 84 void OnCancelRequest(int request_id); |
| 85 void OnClosePageACK(int new_render_process_host_id, int new_request_id); | 85 void OnClosePageACK(int new_render_process_host_id, int new_request_id); |
| 86 void OnDataReceivedACK(int request_id); | 86 void OnDataReceivedACK(int request_id); |
| 87 void OnUploadProgressACK(int request_id); | 87 void OnUploadProgressACK(int request_id); |
| 88 void OnSyncLoad(int request_id, | 88 void OnSyncLoad(int request_id, |
| 89 const ViewHostMsg_Resource_Request& request, | 89 const ViewHostMsg_Resource_Request& request, |
| 90 IPC::Message* result_message); | 90 IPC::Message* result_message); |
| 91 void OnSetCookie(const GURL& url, const GURL& policy_url, | 91 void OnSetCookie(const GURL& url, const GURL& policy_url, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // Contextual information to be used for requests created here. | 190 // Contextual information to be used for requests created here. |
| 191 scoped_refptr<URLRequestContext> request_context_; | 191 scoped_refptr<URLRequestContext> request_context_; |
| 192 | 192 |
| 193 // Save the profile pointer so that notification observer can be added. | 193 // Save the profile pointer so that notification observer can be added. |
| 194 Profile* profile_; | 194 Profile* profile_; |
| 195 | 195 |
| 196 scoped_refptr<RenderWidgetHelper> render_widget_helper_; | 196 scoped_refptr<RenderWidgetHelper> render_widget_helper_; |
| 197 }; | 197 }; |
| 198 | 198 |
| 199 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ | 199 #endif // CHROME_BROWSER_RENDERER_RESOURCE_MSG_FILTER_H__ |
| OLD | NEW |