OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COMMON_RENDER_MESSAGES_PARAMS_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "chrome/common/renderer_preferences.h" | 25 #include "chrome/common/renderer_preferences.h" |
26 #include "chrome/common/serialized_script_value.h" | 26 #include "chrome/common/serialized_script_value.h" |
27 #include "chrome/common/window_container_type.h" | 27 #include "chrome/common/window_container_type.h" |
28 #include "gfx/rect.h" | 28 #include "gfx/rect.h" |
29 #include "gfx/size.h" | 29 #include "gfx/size.h" |
30 #include "googleurl/src/gurl.h" | 30 #include "googleurl/src/gurl.h" |
31 #include "ipc/ipc_param_traits.h" | 31 #include "ipc/ipc_param_traits.h" |
32 #include "media/audio/audio_parameters.h" | 32 #include "media/audio/audio_parameters.h" |
33 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" | 33 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" |
34 #include "webkit/glue/password_form.h" | 34 #include "webkit/glue/password_form.h" |
| 35 #include "webkit/glue/plugins/webplugin.h" |
35 #include "webkit/glue/resource_type.h" | 36 #include "webkit/glue/resource_type.h" |
36 #include "webkit/glue/webaccessibility.h" | 37 #include "webkit/glue/webaccessibility.h" |
37 #include "webkit/glue/webmenuitem.h" | 38 #include "webkit/glue/webmenuitem.h" |
38 #include "webkit/glue/webpreferences.h" | 39 #include "webkit/glue/webpreferences.h" |
39 #include "webkit/plugins/npapi/webplugin.h" | |
40 | 40 |
41 // TODO(erg): Split this file into $1_db_params.h, $1_audio_params.h, | 41 // TODO(erg): Split this file into $1_db_params.h, $1_audio_params.h, |
42 // $1_print_params.h and $1_render_params.h. | 42 // $1_print_params.h and $1_render_params.h. |
43 | 43 |
44 namespace net { | 44 namespace net { |
45 class UploadData; | 45 class UploadData; |
46 } | 46 } |
47 | 47 |
48 // Parameters structure for ViewMsg_Navigate, which has too many data | 48 // Parameters structure for ViewMsg_Navigate, which has too many data |
49 // parameters to be reasonably put in a predefined IPC message. | 49 // parameters to be reasonably put in a predefined IPC message. |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 // included so the host knows how large the view is from the perspective of | 349 // included so the host knows how large the view is from the perspective of |
350 // the renderer process. This is necessary in case a resize operation is in | 350 // the renderer process. This is necessary in case a resize operation is in |
351 // progress. | 351 // progress. |
352 gfx::Size view_size; | 352 gfx::Size view_size; |
353 | 353 |
354 // The area of the RenderView reserved for resize corner when this message | 354 // The area of the RenderView reserved for resize corner when this message |
355 // was generated. Reported for the same reason as view_size is. | 355 // was generated. Reported for the same reason as view_size is. |
356 gfx::Rect resizer_rect; | 356 gfx::Rect resizer_rect; |
357 | 357 |
358 // New window locations for plugin child windows. | 358 // New window locations for plugin child windows. |
359 std::vector<webkit::npapi::WebPluginGeometry> plugin_window_moves; | 359 std::vector<webkit_glue::WebPluginGeometry> plugin_window_moves; |
360 | 360 |
361 // The following describes the various bits that may be set in flags: | 361 // The following describes the various bits that may be set in flags: |
362 // | 362 // |
363 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK | 363 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK |
364 // Indicates that this is a response to a ViewMsg_Resize message. | 364 // Indicates that this is a response to a ViewMsg_Resize message. |
365 // | 365 // |
366 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK | 366 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK |
367 // Indicates that this is a response to a ViewMsg_WasRestored message. | 367 // Indicates that this is a response to a ViewMsg_WasRestored message. |
368 // | 368 // |
369 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK | 369 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1109 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
1110 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1110 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
1111 static void Write(Message* m, const param_type& p); | 1111 static void Write(Message* m, const param_type& p); |
1112 static bool Read(const Message* m, void** iter, param_type* p); | 1112 static bool Read(const Message* m, void** iter, param_type* p); |
1113 static void Log(const param_type& p, std::string* l); | 1113 static void Log(const param_type& p, std::string* l); |
1114 }; | 1114 }; |
1115 | 1115 |
1116 } // namespace IPC | 1116 } // namespace IPC |
1117 | 1117 |
1118 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1118 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |