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

Unified Diff: content/renderer/render_view_pepper_helper.cc

Issue 11414180: Add a gyp flag to allow removing dependency on ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_pepper_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_pepper_helper.cc
diff --git a/content/renderer/render_view_pepper_helper.cc b/content/renderer/render_view_pepper_helper.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f69ca4f6e0a7d2f53c4d7a452a17f1ed71db6f41
--- /dev/null
+++ b/content/renderer/render_view_pepper_helper.cc
@@ -0,0 +1,50 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/renderer/render_view_pepper_helper.h"
+
+#include "ui/gfx/rect.h"
+
+namespace content {
+
+RenderViewPepperHelper::~RenderViewPepperHelper() {
+}
+
+WebKit::WebPlugin* RenderViewPepperHelper::CreatePepperWebPlugin(
+ const webkit::WebPluginInfo& webplugin_info,
+ const WebKit::WebPluginParams& params) {
+ return NULL;
+}
+
+webkit::ppapi::PluginInstance*
+RenderViewPepperHelper::GetBitmapForOptimizedPluginPaint(
+ const gfx::Rect& paint_bounds,
+ TransportDIB** dib,
+ gfx::Rect* location,
+ gfx::Rect* clip,
+ float* scale_factor) {
+ return NULL;
+}
+
+bool RenderViewPepperHelper::IsPluginFocused() const {
+ return false;
+}
+
+gfx::Rect RenderViewPepperHelper::GetCaretBounds() const {
+ return gfx::Rect(0, 0, 0, 0);
+}
+
+ui::TextInputType RenderViewPepperHelper::GetTextInputType() const {
+ return ui::TEXT_INPUT_TYPE_NONE;
+}
+
+bool RenderViewPepperHelper::IsPluginAcceptingCompositionEvents() const {
+ return false;
+}
+
+bool RenderViewPepperHelper::CanComposeInline() const {
+ return false;
+}
+
+} // namespace content
« no previous file with comments | « content/renderer/render_view_pepper_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698