Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: chrome/common/render_messages.h

Issue 4119004: Add ability to parse multiple recognition results and send them to WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move header to chrome/common and address review comments. Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 namespace net { 47 namespace net {
48 class HttpResponseHeaders; 48 class HttpResponseHeaders;
49 class UploadData; 49 class UploadData;
50 } 50 }
51 51
52 namespace webkit_blob { 52 namespace webkit_blob {
53 class BlobData; 53 class BlobData;
54 } 54 }
55 55
56 namespace speech_input {
57 struct SpeechInputResultItem;
58 }
59
56 namespace webkit_glue { 60 namespace webkit_glue {
57 struct FormData; 61 struct FormData;
58 class FormField; 62 class FormField;
59 struct PasswordFormFillData; 63 struct PasswordFormFillData;
60 struct ResourceDevToolsInfo; 64 struct ResourceDevToolsInfo;
61 struct ResourceLoadTimingInfo; 65 struct ResourceLoadTimingInfo;
62 struct ResourceResponseInfo; 66 struct ResourceResponseInfo;
63 struct WebAccessibility; 67 struct WebAccessibility;
64 struct WebCookie; 68 struct WebCookie;
65 struct WebPluginGeometry; 69 struct WebPluginGeometry;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 }; 624 };
621 625
622 template <> 626 template <>
623 struct ParamTraits<PepperDirEntry> { 627 struct ParamTraits<PepperDirEntry> {
624 typedef PepperDirEntry param_type; 628 typedef PepperDirEntry param_type;
625 static void Write(Message* m, const param_type& p); 629 static void Write(Message* m, const param_type& p);
626 static bool Read(const Message* m, void** iter, param_type* p); 630 static bool Read(const Message* m, void** iter, param_type* p);
627 static void Log(const param_type& p, std::string* l); 631 static void Log(const param_type& p, std::string* l);
628 }; 632 };
629 633
634 template <>
635 struct ParamTraits<speech_input::SpeechInputResultItem> {
636 typedef speech_input::SpeechInputResultItem param_type;
637 static void Write(Message* m, const param_type& p);
638 static bool Read(const Message* m, void** iter, param_type* p);
639 static void Log(const param_type& p, std::string* l);
640 };
641
630 } // namespace IPC 642 } // namespace IPC
631 643
632 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 644 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
633 #include "ipc/ipc_message_macros.h" 645 #include "ipc/ipc_message_macros.h"
634 646
635 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 647 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698