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

Side by Side Diff: chrome/renderer/browser_plugin/chrome_browser_plugin_observer.h

Issue 11693009: Browser Plugin: Implement ExecuteScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 class ChromeBrowserPluginObserver : public content::BrowserPluginObserver {
15 public:
16 ChromeBrowserPluginObserver(
17 content::BrowserPlugin* render_view);
18 virtual ~ChromeBrowserPluginObserver();
19
20 int GetNextRequestID();
21
22 // BrowserPluginObserver implementation.
23 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
24
25 private:
26 int next_request_id_;
27
28 // Message handlers.
29 void OnExecuteScriptResponse(int instance_id,
30 int request_id,
31 const base::ListValue& result);
32
33 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserPluginObserver);
34 };
35
36 #endif // CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_OBSERVER_H_
37
OLDNEW
« 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