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

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

Issue 12208057: Add explicit base to FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months 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 | « content/shell/shell_message_filter.cc ('k') | content/shell/shell_network_delegate.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) 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 "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 12
13 #define IPC_MESSAGE_START ShellMsgStart 13 #define IPC_MESSAGE_START ShellMsgStart
14 14
15 // Sets the current working directory to use for layout tests. 15 // Sets the current working directory to use for layout tests.
16 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetCurrentWorkingDirectory, 16 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetCurrentWorkingDirectory,
17 FilePath /* current_working_directory */) 17 base::FilePath /* current_working_directory */)
18 18
19 // Tells the render view to capture a text dump of the page. The render view 19 // Tells the render view to capture a text dump of the page. The render view
20 // responds with a ShellViewHostMsg_TextDump. 20 // responds with a ShellViewHostMsg_TextDump.
21 IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump, 21 IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump,
22 bool /* as_text */, 22 bool /* as_text */,
23 bool /* printing */, 23 bool /* printing */,
24 bool /* recursive */) 24 bool /* recursive */)
25 25
26 // Tells the render view to capture an image of the page. The render view 26 // Tells the render view to capture an image of the page. The render view
27 // responds with a ShellViewHostMsg_ImageDump. 27 // responds with a ShellViewHostMsg_ImageDump.
28 IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureImageDump, 28 IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureImageDump,
29 std::string /* expected pixel hash */) 29 std::string /* expected pixel hash */)
30 30
31 // Tells the renderer to reset all test runners. 31 // Tells the renderer to reset all test runners.
32 IPC_MESSAGE_CONTROL0(ShellViewMsg_ResetAll) 32 IPC_MESSAGE_CONTROL0(ShellViewMsg_ResetAll)
33 33
34 // Sets the path to the WebKit checkout. 34 // Sets the path to the WebKit checkout.
35 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, 35 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir,
36 FilePath /* webkit source dir */) 36 base::FilePath /* webkit source dir */)
37 37
38 // Send a text dump of the WebContents to the render host. 38 // Send a text dump of the WebContents to the render host.
39 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, 39 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
40 std::string /* dump */) 40 std::string /* dump */)
41 41
42 // Send an image dump of the WebContents to the render host. 42 // Send an image dump of the WebContents to the render host.
43 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump, 43 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump,
44 std::string /* actual pixel hash */, 44 std::string /* actual pixel hash */,
45 SkBitmap /* image */) 45 SkBitmap /* image */)
46 46
47 // The main frame of the render view finished loading. 47 // The main frame of the render view finished loading.
48 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DidFinishLoad) 48 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DidFinishLoad)
49 49
50 // Print a message from a layout test runner. 50 // Print a message from a layout test runner.
51 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, 51 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage,
52 std::string /* message */) 52 std::string /* message */)
53 53
54 // Read a file and returns its contents. 54 // Read a file and returns its contents.
55 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_ReadFileToString, 55 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_ReadFileToString,
56 FilePath /* local path */, 56 base::FilePath /* local path */,
57 std::string /* contents */) 57 std::string /* contents */)
58 58
59 // The following messages correspond to methods of the testRunner. 59 // The following messages correspond to methods of the testRunner.
60 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_NotifyDone) 60 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_NotifyDone)
61 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpAsText) 61 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpAsText)
62 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpChildFramesAsText) 62 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpChildFramesAsText)
63 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_SetPrinting) 63 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_SetPrinting)
64 IPC_MESSAGE_ROUTED1( 64 IPC_MESSAGE_ROUTED1(
65 ShellViewHostMsg_SetShouldStayOnPageAfterHandlingBeforeUnload, 65 ShellViewHostMsg_SetShouldStayOnPageAfterHandlingBeforeUnload,
66 bool /* should_stay_on_page */) 66 bool /* should_stay_on_page */)
67 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone) 67 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone)
68 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, 68 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences,
69 webkit_glue::WebPreferences /* preferences */) 69 webkit_glue::WebPreferences /* preferences */)
70 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CanOpenWindows) 70 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CanOpenWindows)
71 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ShowWebInspector) 71 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ShowWebInspector)
72 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseWebInspector) 72 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseWebInspector)
73 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_RegisterIsolatedFileSystem, 73 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_RegisterIsolatedFileSystem,
74 std::vector<FilePath> /* absolute_filenames */, 74 std::vector<base::FilePath> /* absolute_filenames */,
75 std::string /* filesystem_id */) 75 std::string /* filesystem_id */)
76 76
77 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented, 77 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented,
78 std::string /* object_name */, 78 std::string /* object_name */,
79 std::string /* property_name */) 79 std::string /* property_name */)
OLDNEW
« no previous file with comments | « content/shell/shell_message_filter.cc ('k') | content/shell/shell_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698