| 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_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
| 6 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 struct ViewHostMsg_CreateWorker_Params; | 101 struct ViewHostMsg_CreateWorker_Params; |
| 102 struct ViewHostMsg_ShowNotification_Params; | 102 struct ViewHostMsg_ShowNotification_Params; |
| 103 struct ViewMsg_New_Params; | 103 struct ViewMsg_New_Params; |
| 104 struct ViewHostMsg_CreateWindow_Params; | 104 struct ViewHostMsg_CreateWindow_Params; |
| 105 struct ViewHostMsg_RunFileChooser_Params; | 105 struct ViewHostMsg_RunFileChooser_Params; |
| 106 struct ViewMsg_ExtensionRendererInfo; | 106 struct ViewMsg_ExtensionRendererInfo; |
| 107 struct ViewMsg_ExtensionsUpdated_Params; | 107 struct ViewMsg_ExtensionsUpdated_Params; |
| 108 struct ViewMsg_DeviceOrientationUpdated_Params; | 108 struct ViewMsg_DeviceOrientationUpdated_Params; |
| 109 struct ViewHostMsg_DomMessage_Params; | 109 struct ViewHostMsg_DomMessage_Params; |
| 110 struct ViewHostMsg_OpenFileSystemRequest_Params; | 110 struct ViewHostMsg_OpenFileSystemRequest_Params; |
| 111 struct ViewMsg_FileSystem_DidReadDirectory_Params; | |
| 112 | 111 |
| 113 // Values that may be OR'd together to form the 'flags' parameter of the | 112 // Values that may be OR'd together to form the 'flags' parameter of the |
| 114 // ViewMsg_EnablePreferredSizeChangedMode message. | 113 // ViewMsg_EnablePreferredSizeChangedMode message. |
| 115 enum ViewHostMsg_EnablePreferredSizeChangedMode_Flags { | 114 enum ViewHostMsg_EnablePreferredSizeChangedMode_Flags { |
| 116 kPreferredSizeNothing, | 115 kPreferredSizeNothing, |
| 117 kPreferredSizeWidth = 1 << 0, | 116 kPreferredSizeWidth = 1 << 0, |
| 118 // Requesting the height currently requires a polling loop in render_view.cc. | 117 // Requesting the height currently requires a polling loop in render_view.cc. |
| 119 kPreferredSizeHeightThisIsSlow = 1 << 1, | 118 kPreferredSizeHeightThisIsSlow = 1 << 1, |
| 120 }; | 119 }; |
| 121 | 120 |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 static bool Read(const Message* m, void** iter, param_type* p); | 735 static bool Read(const Message* m, void** iter, param_type* p); |
| 737 static void Log(const param_type& p, std::string* l); | 736 static void Log(const param_type& p, std::string* l); |
| 738 }; | 737 }; |
| 739 | 738 |
| 740 } // namespace IPC | 739 } // namespace IPC |
| 741 | 740 |
| 742 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" | 741 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" |
| 743 #include "ipc/ipc_message_macros.h" | 742 #include "ipc/ipc_message_macros.h" |
| 744 | 743 |
| 745 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ | 744 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ |
| OLD | NEW |