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