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

Unified Diff: chrome/common/chrome_browser_plugin_messages.h

Issue 12326168: Move <webview> API to chrome layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_browser_plugin_messages.h
diff --git a/chrome/common/chrome_browser_plugin_messages.h b/chrome/common/chrome_browser_plugin_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..5a5222100b2af293fd4a258ab2bb915f6d0c1a7b
--- /dev/null
+++ b/chrome/common/chrome_browser_plugin_messages.h
@@ -0,0 +1,31 @@
+// 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 message header, no traditional include guard.
+
+#include "base/values.h"
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START ChromeBrowserPluginMsgStart
+
+// Browser plugin messages
+
+// -----------------------------------------------------------------------------
+// These messages are from the embedder to the browser process.
+
+// Tells the guest to navigate to an entry |relative_index| away from the
+// current navigation entry.
+IPC_MESSAGE_ROUTED1(ChromeBrowserPluginHostMsg_Go,
+ int /* relative_index */)
+
+// Tell the guest to stop loading.
+IPC_MESSAGE_ROUTED0(ChromeBrowserPluginHostMsg_Stop)
+
+// Tell the guest to reload.
+IPC_MESSAGE_ROUTED0(ChromeBrowserPluginHostMsg_Reload)
+
+// -----------------------------------------------------------------------------
+
+// These messages are from the browser process to the embedder.
+
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698