OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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. |
| 4 |
| 5 #ifndef CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_OBSERVER_H_ |
| 6 #define CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_OBSERVER_H_ |
| 7 |
| 8 #include "content/public/renderer/browser_plugin/browser_plugin_observer.h" |
| 9 |
| 10 namespace base { |
| 11 class ListValue; |
| 12 } // namespace base |
| 13 |
| 14 namespace chrome { |
| 15 |
| 16 class ChromeBrowserPluginObserver : public content::BrowserPluginObserver { |
| 17 public: |
| 18 ChromeBrowserPluginObserver( |
| 19 content::BrowserPlugin* browser_plugin); |
| 20 virtual ~ChromeBrowserPluginObserver(); |
| 21 |
| 22 void Go(int relative_index); |
| 23 |
| 24 // BrowserPluginObserver implementation. |
| 25 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 26 |
| 27 private: |
| 28 |
| 29 // Message handlers. |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserPluginObserver); |
| 32 }; |
| 33 |
| 34 } // namespace chrome |
| 35 |
| 36 #endif // CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_OBSERVER_H_ |
| 37 |
OLD | NEW |