| 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> |
| 11 | 11 |
| 12 #include "app/surface/transport_dib.h" | 12 #include "app/surface/transport_dib.h" |
| 13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
| 15 #include "base/shared_memory.h" | 15 #include "base/shared_memory.h" |
| 16 #include "base/time.h" | 16 #include "base/time.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "chrome/common/dom_storage_common.h" | 18 #include "chrome/common/dom_storage_common.h" |
| 19 #include "chrome/common/extensions/extension.h" |
| 19 #include "chrome/common/extensions/extension_extent.h" | 20 #include "chrome/common/extensions/extension_extent.h" |
| 20 #include "chrome/common/extensions/url_pattern.h" | 21 #include "chrome/common/extensions/url_pattern.h" |
| 21 #include "chrome/common/indexed_db_key.h" | 22 #include "chrome/common/indexed_db_key.h" |
| 22 #include "chrome/common/navigation_gesture.h" | 23 #include "chrome/common/navigation_gesture.h" |
| 23 #include "chrome/common/navigation_types.h" | 24 #include "chrome/common/navigation_types.h" |
| 24 #include "chrome/common/page_transition_types.h" | 25 #include "chrome/common/page_transition_types.h" |
| 25 #include "chrome/common/renderer_preferences.h" | 26 #include "chrome/common/renderer_preferences.h" |
| 26 #include "chrome/common/window_container_type.h" | 27 #include "chrome/common/window_container_type.h" |
| 27 #include "googleurl/src/gurl.h" | 28 #include "googleurl/src/gurl.h" |
| 28 #include "ipc/ipc_param_traits.h" | 29 #include "ipc/ipc_param_traits.h" |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 | 784 |
| 784 // Default file name to select in the dialog. | 785 // Default file name to select in the dialog. |
| 785 FilePath default_file_name; | 786 FilePath default_file_name; |
| 786 }; | 787 }; |
| 787 | 788 |
| 788 struct ViewMsg_ExtensionRendererInfo { | 789 struct ViewMsg_ExtensionRendererInfo { |
| 789 std::string id; | 790 std::string id; |
| 790 ExtensionExtent web_extent; | 791 ExtensionExtent web_extent; |
| 791 std::string name; | 792 std::string name; |
| 792 GURL icon_url; | 793 GURL icon_url; |
| 794 Extension::Location location; |
| 793 }; | 795 }; |
| 794 | 796 |
| 795 struct ViewMsg_ExtensionsUpdated_Params { | 797 struct ViewMsg_ExtensionsUpdated_Params { |
| 796 // Describes the installed extension apps and the URLs they cover. | 798 // Describes the installed extension apps and the URLs they cover. |
| 797 std::vector<ViewMsg_ExtensionRendererInfo> extensions; | 799 std::vector<ViewMsg_ExtensionRendererInfo> extensions; |
| 798 }; | 800 }; |
| 799 | 801 |
| 800 struct ViewMsg_DeviceOrientationUpdated_Params { | 802 struct ViewMsg_DeviceOrientationUpdated_Params { |
| 801 // These fields have the same meaning as in device_orientation::Orientation. | 803 // These fields have the same meaning as in device_orientation::Orientation. |
| 802 bool can_provide_alpha; | 804 bool can_provide_alpha; |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 struct ParamTraits<ViewHostMsg_OpenFileSystemRequest_Params> { | 1096 struct ParamTraits<ViewHostMsg_OpenFileSystemRequest_Params> { |
| 1095 typedef ViewHostMsg_OpenFileSystemRequest_Params param_type; | 1097 typedef ViewHostMsg_OpenFileSystemRequest_Params param_type; |
| 1096 static void Write(Message* m, const param_type& p); | 1098 static void Write(Message* m, const param_type& p); |
| 1097 static bool Read(const Message* m, void** iter, param_type* p); | 1099 static bool Read(const Message* m, void** iter, param_type* p); |
| 1098 static void Log(const param_type& p, std::string* l); | 1100 static void Log(const param_type& p, std::string* l); |
| 1099 }; | 1101 }; |
| 1100 | 1102 |
| 1101 } // namespace IPC | 1103 } // namespace IPC |
| 1102 | 1104 |
| 1103 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1105 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| OLD | NEW |