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

Unified Diff: android_webview/common/render_view_messages.h

Issue 10890024: Implement DocuementHasImages (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/common/render_view_messages.h
diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..e0b184374f38b64203718c40812aa50bbd9fc822
--- /dev/null
+++ b/android_webview/common/render_view_messages.h
@@ -0,0 +1,42 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Multiply-included file, no traditional include guard.
+#include "ipc/ipc_channel_handle.h"
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_platform_file.h"
+
+// Singly-included section for enums and custom IPC traits.
+#ifndef ANDROID_WEBVIEW_COMMON_RENDER_VIEW_MESSAGES_H_
+#define ANDROID_WEBVIEW_COMMON_RENDER_VIEW_MESSAGES_H_
+
+
+namespace IPC {
+
+
+} // namespace IPC
+
+#endif // ANDROID_WEBVIEW_COMMON_RENDER_VIEW_MESSAGES_H_
+
+#define IPC_MESSAGE_START AndroidWebViewMsgStart
+
+//-----------------------------------------------------------------------------
+// RenderView messages
+// These are messages sent from the browser to the renderer process.
+
+// Request for the renderer to determine if the document contains any image
+// elements. The id should be passed in the response message so the response
+// can be associated with the request.
+IPC_MESSAGE_ROUTED1(AwViewMsg_DocumentHasImages,
+ int /* id */)
+
+//-----------------------------------------------------------------------------
+// RenderView messages
+// These are messages sent from the renderer to the browser process.
+
+// Response to AwViewMsg_DocumentHasImages request.
+IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse,
+ int, /* id */
+ bool /* has_images */)
+

Powered by Google App Engine
This is Rietveld 408576698