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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 namespace net { | 42 namespace net { |
43 class HttpResponseHeaders; | 43 class HttpResponseHeaders; |
44 class UploadData; | 44 class UploadData; |
45 } | 45 } |
46 | 46 |
47 namespace webkit_blob { | 47 namespace webkit_blob { |
48 class BlobData; | 48 class BlobData; |
49 } | 49 } |
50 | 50 |
51 namespace speech_input { | |
52 struct SpeechInputResultItem; | |
53 } | |
54 | |
55 namespace webkit_glue { | 51 namespace webkit_glue { |
56 struct FormData; | 52 struct FormData; |
57 class FormField; | 53 class FormField; |
58 struct PasswordFormFillData; | 54 struct PasswordFormFillData; |
59 struct ResourceDevToolsInfo; | 55 struct ResourceDevToolsInfo; |
60 struct ResourceLoadTimingInfo; | 56 struct ResourceLoadTimingInfo; |
61 struct ResourceResponseInfo; | 57 struct ResourceResponseInfo; |
62 struct WebAccessibility; | 58 struct WebAccessibility; |
63 struct WebCookie; | 59 struct WebCookie; |
64 } | 60 } |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 // Traits for AudioBuffersState structure. | 546 // Traits for AudioBuffersState structure. |
551 template <> | 547 template <> |
552 struct ParamTraits<AudioBuffersState> { | 548 struct ParamTraits<AudioBuffersState> { |
553 typedef AudioBuffersState param_type; | 549 typedef AudioBuffersState param_type; |
554 static void Write(Message* m, const param_type& p); | 550 static void Write(Message* m, const param_type& p); |
555 static bool Read(const Message* m, void** iter, param_type* p); | 551 static bool Read(const Message* m, void** iter, param_type* p); |
556 static void Log(const param_type& p, std::string* l); | 552 static void Log(const param_type& p, std::string* l); |
557 }; | 553 }; |
558 | 554 |
559 template <> | 555 template <> |
560 struct ParamTraits<speech_input::SpeechInputResultItem> { | |
561 typedef speech_input::SpeechInputResultItem param_type; | |
562 static void Write(Message* m, const param_type& p); | |
563 static bool Read(const Message* m, void** iter, param_type* p); | |
564 static void Log(const param_type& p, std::string* l); | |
565 }; | |
566 | |
567 template <> | |
568 struct ParamTraits<PP_Flash_NetAddress> { | 556 struct ParamTraits<PP_Flash_NetAddress> { |
569 typedef PP_Flash_NetAddress param_type; | 557 typedef PP_Flash_NetAddress param_type; |
570 static void Write(Message* m, const param_type& p); | 558 static void Write(Message* m, const param_type& p); |
571 static bool Read(const Message* m, void** iter, param_type* p); | 559 static bool Read(const Message* m, void** iter, param_type* p); |
572 static void Log(const param_type& p, std::string* l); | 560 static void Log(const param_type& p, std::string* l); |
573 }; | 561 }; |
574 | 562 |
575 } // namespace IPC | 563 } // namespace IPC |
576 | 564 |
577 #include "chrome/common/render_messages_internal.h" | 565 #include "chrome/common/render_messages_internal.h" |
578 | 566 |
579 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ | 567 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ |
OLD | NEW |