Loosen up heuristics for detecting account creation forms.
[chromium-blink-merge.git] / content / shell / shell_messages.h
blob53840c50581f4eea5e92f4b7dd69d8b5e19f43f2
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
3 // found in the LICENSE file.
5 // Multiply-included file, no traditional include guard.
6 #include <string>
8 #include "content/public/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "third_party/skia/include/core/SkBitmap.h"
12 #define IPC_MESSAGE_START ShellMsgStart
14 // Tells the render view to capture a text dump of the page. The render view
15 // responds with a ShellViewHostMsg_TextDump.
16 IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump,
17 bool /* as_text */,
18 bool /* printing */,
19 bool /* recursive */)
21 // Tells the render view to capture an image of the page. The render view
22 // responds with a ShellViewHostMsg_ImageDump.
23 IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureImageDump,
24 std::string /* expected pixel hash */)
26 // Send a text dump of the WebContents to the render host.
27 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
28 std::string /* dump */)
30 // Send an image dump of the WebContents to the render host.
31 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump,
32 std::string /* actual pixel hash */,
33 SkBitmap /* image */)
35 // The main frame of the render view finished loading.
36 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DidFinishLoad)
38 // The following messages correspond to methods of the testRunner.
39 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_NotifyDone)
40 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpAsText)
41 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpChildFramesAsText)
42 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_SetPrinting)
43 IPC_MESSAGE_ROUTED1(
44 ShellViewHostMsg_SetShouldStayOnPageAfterHandlingBeforeUnload,
45 bool /* should_stay_on_page */)
46 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone)
48 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented,
49 std::string /* object_name */,
50 std::string /* property_name */)