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

Side by Side Diff: extensions/browser/api/web_view/web_view_internal_api.h

Issue 584713002: Browser Plugin: Remove dependency on NPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_content_window
Patch Set: Updated histograms.xml Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_
6 #define EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_ 6 #define EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_
7 7
8 #include "extensions/browser/api/capture_web_contents_function.h" 8 #include "extensions/browser/api/capture_web_contents_function.h"
9 #include "extensions/browser/api/execute_code_function.h" 9 #include "extensions/browser/api/execute_code_function.h"
10 #include "extensions/browser/extension_function.h" 10 #include "extensions/browser/extension_function.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 protected: 144 protected:
145 virtual ~WebViewInternalSetNameFunction(); 145 virtual ~WebViewInternalSetNameFunction();
146 146
147 private: 147 private:
148 virtual bool RunAsyncSafe(WebViewGuest* guest) OVERRIDE; 148 virtual bool RunAsyncSafe(WebViewGuest* guest) OVERRIDE;
149 149
150 DISALLOW_COPY_AND_ASSIGN(WebViewInternalSetNameFunction); 150 DISALLOW_COPY_AND_ASSIGN(WebViewInternalSetNameFunction);
151 }; 151 };
152 152
153 class WebViewInternalSetAllowTransparencyFunction :
154 public WebViewInternalExtensionFunction {
155 public:
156 DECLARE_EXTENSION_FUNCTION("webViewInternal.setAllowTransparency",
157 WEBVIEWINTERNAL_SETALLOWTRANSPARENCY);
158
159 WebViewInternalSetAllowTransparencyFunction();
160
161 protected:
162 virtual ~WebViewInternalSetAllowTransparencyFunction();
163
164 private:
165 virtual bool RunAsyncSafe(WebViewGuest* guest) OVERRIDE;
166
167 DISALLOW_COPY_AND_ASSIGN(WebViewInternalSetAllowTransparencyFunction);
168 };
169
153 class WebViewInternalSetZoomFunction : public WebViewInternalExtensionFunction { 170 class WebViewInternalSetZoomFunction : public WebViewInternalExtensionFunction {
154 public: 171 public:
155 DECLARE_EXTENSION_FUNCTION("webViewInternal.setZoom", 172 DECLARE_EXTENSION_FUNCTION("webViewInternal.setZoom",
156 WEBVIEWINTERNAL_SETZOOM); 173 WEBVIEWINTERNAL_SETZOOM);
157 174
158 WebViewInternalSetZoomFunction(); 175 WebViewInternalSetZoomFunction();
159 176
160 protected: 177 protected:
161 virtual ~WebViewInternalSetZoomFunction(); 178 virtual ~WebViewInternalSetZoomFunction();
162 179
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 uint32 remove_mask_; 362 uint32 remove_mask_;
346 // Tracks any data related or parse errors. 363 // Tracks any data related or parse errors.
347 bool bad_message_; 364 bool bad_message_;
348 365
349 DISALLOW_COPY_AND_ASSIGN(WebViewInternalClearDataFunction); 366 DISALLOW_COPY_AND_ASSIGN(WebViewInternalClearDataFunction);
350 }; 367 };
351 368
352 } // namespace extensions 369 } // namespace extensions
353 370
354 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_ 371 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_bindings.cc ('k') | extensions/browser/api/web_view/web_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698