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

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

Issue 16915006: Convert most of extensions and some other random stuff to using the base namespace for Values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_
7 7
8 #include "chrome/browser/extensions/api/execute_code_function.h" 8 #include "chrome/browser/extensions/api/execute_code_function.h"
9 9
10 class WebviewExecuteCodeFunction : public extensions::ExecuteCodeFunction { 10 class WebviewExecuteCodeFunction : public extensions::ExecuteCodeFunction {
(...skipping 18 matching lines...) Expand all
29 int guest_instance_id_; 29 int guest_instance_id_;
30 }; 30 };
31 31
32 class WebviewExecuteScriptFunction : public WebviewExecuteCodeFunction { 32 class WebviewExecuteScriptFunction : public WebviewExecuteCodeFunction {
33 protected: 33 protected:
34 virtual ~WebviewExecuteScriptFunction() {} 34 virtual ~WebviewExecuteScriptFunction() {}
35 35
36 virtual void OnExecuteCodeFinished(const std::string& error, 36 virtual void OnExecuteCodeFinished(const std::string& error,
37 int32 on_page_id, 37 int32 on_page_id,
38 const GURL& on_url, 38 const GURL& on_url,
39 const ListValue& result) OVERRIDE; 39 const base::ListValue& result) OVERRIDE;
40 40
41 DECLARE_EXTENSION_FUNCTION("webview.executeScript", WEBVIEW_EXECUTESCRIPT) 41 DECLARE_EXTENSION_FUNCTION("webview.executeScript", WEBVIEW_EXECUTESCRIPT)
42 }; 42 };
43 43
44 class WebviewInsertCSSFunction : public WebviewExecuteCodeFunction { 44 class WebviewInsertCSSFunction : public WebviewExecuteCodeFunction {
45 protected: 45 protected:
46 virtual ~WebviewInsertCSSFunction() {} 46 virtual ~WebviewInsertCSSFunction() {}
47 47
48 virtual bool ShouldInsertCSS() const OVERRIDE; 48 virtual bool ShouldInsertCSS() const OVERRIDE;
49 49
50 DECLARE_EXTENSION_FUNCTION("webview.insertCSS", WEBVIEW_INSERTCSS) 50 DECLARE_EXTENSION_FUNCTION("webview.insertCSS", WEBVIEW_INSERTCSS)
51 }; 51 };
52 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_ 52 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698