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

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

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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
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>
11 11
12 // TODO(erg): This list has been temporarily annotated by erg while doing work 12 // TODO(erg): This list has been temporarily annotated by erg while doing work
13 // on which headers to pull out. 13 // on which headers to pull out.
14 #include "app/clipboard/clipboard.h" // enum 14 #include "app/clipboard/clipboard.h" // enum
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/ref_counted.h" 16 #include "base/ref_counted.h"
17 #include "base/string16.h" 17 #include "base/string16.h"
18 #include "chrome/common/common_param_traits.h" 18 #include "chrome/common/common_param_traits.h"
19 #include "chrome/common/css_colors.h" 19 #include "chrome/common/css_colors.h"
20 #include "chrome/common/page_transition_types.h" 20 #include "chrome/common/page_transition_types.h"
21 #include "chrome/common/translate_errors.h" 21 #include "chrome/common/translate_errors.h"
22 #include "chrome/common/view_types.h" 22 #include "chrome/common/view_types.h"
23 #include "chrome/common/webkit_param_traits.h" 23 #include "chrome/common/webkit_param_traits.h"
24 #include "ipc/ipc_message_utils.h" 24 #include "ipc/ipc_message_utils.h"
25 #include "ipc/ipc_platform_file.h" // ifdefed typedef. 25 #include "ipc/ipc_platform_file.h" // ifdefed typedef.
26 #include "webkit/appcache/appcache_interfaces.h" // enum appcache::Status 26 #include "webkit/appcache/appcache_interfaces.h" // enum appcache::Status
27 #include "webkit/fileapi/file_system_types.h" // enum fileapi::FileSystemType 27 #include "webkit/fileapi/file_system_types.h" // enum fileapi::FileSystemType
28 #include "webkit/glue/plugins/pepper_dir_contents.h" 28 #include "webkit/plugins/ppapi/dir_contents.h"
29 29
30 #if defined(OS_MACOSX) 30 #if defined(OS_MACOSX)
31 struct FontDescriptor; 31 struct FontDescriptor;
32 #endif 32 #endif
33 33
34 namespace appcache { 34 namespace appcache {
35 struct AppCacheInfo; 35 struct AppCacheInfo;
36 struct AppCacheResourceInfo; 36 struct AppCacheResourceInfo;
37 } 37 }
38 38
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 // Traits for AudioBuffersState structure. 539 // Traits for AudioBuffersState structure.
540 template <> 540 template <>
541 struct ParamTraits<AudioBuffersState> { 541 struct ParamTraits<AudioBuffersState> {
542 typedef AudioBuffersState param_type; 542 typedef AudioBuffersState param_type;
543 static void Write(Message* m, const param_type& p); 543 static void Write(Message* m, const param_type& p);
544 static bool Read(const Message* m, void** iter, param_type* p); 544 static bool Read(const Message* m, void** iter, param_type* p);
545 static void Log(const param_type& p, std::string* l); 545 static void Log(const param_type& p, std::string* l);
546 }; 546 };
547 547
548 template <> 548 template <>
549 struct ParamTraits<PepperDirEntry> { 549 struct ParamTraits<webkit::plugins::ppapi::DirEntry> {
550 typedef PepperDirEntry param_type; 550 typedef webkit::plugins::ppapi::DirEntry param_type;
551 static void Write(Message* m, const param_type& p); 551 static void Write(Message* m, const param_type& p);
552 static bool Read(const Message* m, void** iter, param_type* p); 552 static bool Read(const Message* m, void** iter, param_type* p);
553 static void Log(const param_type& p, std::string* l); 553 static void Log(const param_type& p, std::string* l);
554 }; 554 };
555 555
556 template <> 556 template <>
557 struct ParamTraits<speech_input::SpeechInputResultItem> { 557 struct ParamTraits<speech_input::SpeechInputResultItem> {
558 typedef speech_input::SpeechInputResultItem param_type; 558 typedef speech_input::SpeechInputResultItem param_type;
559 static void Write(Message* m, const param_type& p); 559 static void Write(Message* m, const param_type& p);
560 static bool Read(const Message* m, void** iter, param_type* p); 560 static bool Read(const Message* m, void** iter, param_type* p);
561 static void Log(const param_type& p, std::string* l); 561 static void Log(const param_type& p, std::string* l);
562 }; 562 };
563 563
564 } // namespace IPC 564 } // namespace IPC
565 565
566 #include "chrome/common/render_messages_internal.h" 566 #include "chrome/common/render_messages_internal.h"
567 567
568 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 568 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698