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

Side by Side Diff: content/shell/shell_messages.h

Issue 11565036: [content shell] use WebTestRunner::WebPreferences for layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "content/public/common/common_param_traits.h" 9 #include "content/public/common/common_param_traits.h"
10 #include "content/shell/shell_webpreferences.h" 10 #include "content/shell/shell_webpreferences.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 12 #include "third_party/skia/include/core/SkBitmap.h"
13 13
14 #define IPC_MESSAGE_START ShellMsgStart 14 #define IPC_MESSAGE_START ShellMsgStart
15 15
16 IPC_STRUCT_TRAITS_BEGIN(content::ShellWebPreferences) 16 IPC_STRUCT_TRAITS_BEGIN(content::ShellWebPreferences)
17 IPC_STRUCT_TRAITS_MEMBER(allow_universal_access_from_file_urls) 17 IPC_STRUCT_TRAITS_MEMBER(allowUniversalAccessFromFileURLs)
18 IPC_STRUCT_TRAITS_MEMBER(dom_paste_enabled) 18 IPC_STRUCT_TRAITS_MEMBER(DOMPasteAllowed)
19 IPC_STRUCT_TRAITS_MEMBER(javascript_can_access_clipboard) 19 IPC_STRUCT_TRAITS_MEMBER(javaScriptCanAccessClipboard)
20 IPC_STRUCT_TRAITS_MEMBER(xss_auditor_enabled) 20 IPC_STRUCT_TRAITS_MEMBER(XSSAuditorEnabled)
21 IPC_STRUCT_TRAITS_END() 21 IPC_STRUCT_TRAITS_END()
22 22
23 // Sets the current working directory to use for layout tests. 23 // Sets the current working directory to use for layout tests.
24 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetCurrentWorkingDirectory, 24 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetCurrentWorkingDirectory,
25 FilePath /* current_working_directory */) 25 FilePath /* current_working_directory */)
26 26
27 // Tells the render view to capture a text dump of the page. The render view 27 // Tells the render view to capture a text dump of the page. The render view
28 // responds with a ShellViewHostMsg_TextDump. 28 // responds with a ShellViewHostMsg_TextDump.
29 IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump, 29 IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump,
30 bool /* as_text */, 30 bool /* as_text */,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CanOpenWindows) 73 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CanOpenWindows)
74 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ShowWebInspector) 74 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ShowWebInspector)
75 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseWebInspector) 75 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseWebInspector)
76 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_RegisterIsolatedFileSystem, 76 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_RegisterIsolatedFileSystem,
77 std::vector<FilePath> /* absolute_filenames */, 77 std::vector<FilePath> /* absolute_filenames */,
78 std::string /* filesystem_id */) 78 std::string /* filesystem_id */)
79 79
80 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented, 80 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented,
81 std::string /* object_name */, 81 std::string /* object_name */,
82 std::string /* property_name */) 82 std::string /* property_name */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698