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

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

Issue 17447005: <webview>: Move back, forward, canGoBack, canGoForward, go from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@filter_listener
Patch Set: Merge against latest changes in other CL 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
53 class WebviewGoFunction : public AsyncExtensionFunction {
54 public:
55 DECLARE_EXTENSION_FUNCTION("webview.go", WEBVIEW_GO);
56
57 WebviewGoFunction();
58
59 protected:
60 virtual ~WebviewGoFunction();
61
62 // ExtensionFunction implementation.
63 virtual bool RunImpl() OVERRIDE;
lazyboy 2013/06/22 04:29:15 private: DISALLOW_COPY_AND_ASSIGN Seems other func
Fady Samuel 2013/06/25 15:46:12 chrome/browser/extensions/extension_function_regis
lazyboy 2013/06/25 15:58:50 OK, I'd add a comment that says DISALLOW_COPY_AND_
Fady Samuel 2013/06/25 19:22:05 Looks like I was wrong. DISALLOW_COPY_AND_ASSIGN w
64 };
65
52 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_ 66 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698