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_ |
+ |