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

Unified Diff: chrome/renderer/browser_plugin/chrome_browser_plugin_observer.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
Index: chrome/renderer/browser_plugin/chrome_browser_plugin_observer.h
diff --git a/chrome/renderer/browser_plugin/chrome_browser_plugin_observer.h b/chrome/renderer/browser_plugin/chrome_browser_plugin_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..2dc019820a9a9215e52dca29d505b1ff5193bd87
--- /dev/null
+++ b/chrome/renderer/browser_plugin/chrome_browser_plugin_observer.h
@@ -0,0 +1,37 @@
+// Copyright (c) 2013 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.
+
+#ifndef CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_OBSERVER_H_
+#define CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_OBSERVER_H_
+
+#include "content/public/renderer/browser_plugin/browser_plugin_observer.h"
+
+namespace base {
+class ListValue;
+} // namespace base
+
+namespace chrome {
+
+class ChromeBrowserPluginObserver : public content::BrowserPluginObserver {
+ public:
+ ChromeBrowserPluginObserver(
+ content::BrowserPlugin* browser_plugin);
+ virtual ~ChromeBrowserPluginObserver();
+
+ void Go(int relative_index);
+
+ // BrowserPluginObserver implementation.
+ virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+
+ private:
+
+ // Message handlers.
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeBrowserPluginObserver);
+};
+
+} // namespace chrome
+
+#endif // CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_OBSERVER_H_
+
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/renderer/browser_plugin/chrome_browser_plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698