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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view_pepper_helper.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #include "content/renderer/render_view_pepper_helper.h"
6
7 #include "ui/gfx/rect.h"
8
9 namespace content {
10
11 RenderViewPepperHelper::~RenderViewPepperHelper() {
12 }
13
14 WebKit::WebPlugin* RenderViewPepperHelper::CreatePepperWebPlugin(
15 const webkit::WebPluginInfo& webplugin_info,
16 const WebKit::WebPluginParams& params) {
17 return NULL;
18 }
19
20 webkit::ppapi::PluginInstance*
21 RenderViewPepperHelper::GetBitmapForOptimizedPluginPaint(
22 const gfx::Rect& paint_bounds,
23 TransportDIB** dib,
24 gfx::Rect* location,
25 gfx::Rect* clip,
26 float* scale_factor) {
27 return NULL;
28 }
29
30 bool RenderViewPepperHelper::IsPluginFocused() const {
31 return false;
32 }
33
34 gfx::Rect RenderViewPepperHelper::GetCaretBounds() const {
35 return gfx::Rect(0, 0, 0, 0);
36 }
37
38 ui::TextInputType RenderViewPepperHelper::GetTextInputType() const {
39 return ui::TEXT_INPUT_TYPE_NONE;
40 }
41
42 bool RenderViewPepperHelper::IsPluginAcceptingCompositionEvents() const {
43 return false;
44 }
45
46 bool RenderViewPepperHelper::CanComposeInline() const {
47 return false;
48 }
49
50 } // namespace content
OLDNEW
« 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