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

Side by Side Diff: chrome/browser/extensions/api/webview/execute_script_function.h

Issue 11968054: <webview>: Implement ExecuteScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed misnamed variable 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) 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_BROWSER_EXTENSIONS_API_WEBVIEW_EXECUTE_SCRIPT_FUNCTION_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_EXECUTE_SCRIPT_FUNCTION_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/extensions/extension_function.h"
10 #include "chrome/browser/extensions/script_executor.h"
11
12 namespace extensions {
13
14 class ExecuteScriptFunction : public AsyncExtensionFunction {
15 public:
16 DECLARE_EXTENSION_FUNCTION("webview.executeScript", WEBVIEW_EXECUTESCRIPT)
17
18 ExecuteScriptFunction();
19
20 protected:
21 virtual ~ExecuteScriptFunction();
22
23 // ExtensionFunction implementation.
24 virtual bool RunImpl() OVERRIDE;
25
26 private:
27
28 void OnExecuteCodeFinished(const std::string& error,
29 int32 on_page_id,
30 const GURL& on_url,
31 const ListValue& result);
32
33 };
34
35 } // namespace extensions
36
37 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_EXECUTE_SCRIPT_FUNCTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698