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

Side by Side Diff: content/renderer/plugin_delegate_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: Addressed Jay's comments and 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
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/plugin_delegate_helper.h"
6
7 #include "ui/gfx/rect.h"
8 #include "webkit/plugins/ppapi/plugin_module.h"
brettw 2012/11/30 23:18:12 Why is this include necessary?
nilesh 2012/12/01 00:41:35 Removed.
9
10 namespace content {
11
12 PluginDelegateHelper::~PluginDelegateHelper() {
13 }
14
15 WebKit::WebPlugin* PluginDelegateHelper::CreatePepperWebPlugin(
16 const webkit::WebPluginInfo& webplugin_info,
17 const WebKit::WebPluginParams& params) {
18 return NULL;
19 }
20
21 webkit::ppapi::PluginInstance*
22 PluginDelegateHelper::GetBitmapForOptimizedPluginPaint(
23 const gfx::Rect& paint_bounds,
24 TransportDIB** dib,
25 gfx::Rect* location,
26 gfx::Rect* clip,
27 float* scale_factor) {
28 return NULL;
29 }
30
31 bool PluginDelegateHelper::IsPluginFocused() const {
32 return false;
33 }
34
35 gfx::Rect PluginDelegateHelper::GetCaretBounds() const {
36 return gfx::Rect(0, 0, 0, 0);
37 }
38
39 ui::TextInputType PluginDelegateHelper::GetTextInputType() const {
40 return ui::TEXT_INPUT_TYPE_NONE;
41 }
42
43 bool PluginDelegateHelper::IsPluginAcceptingCompositionEvents() const {
44 return false;
45 }
46
47 bool PluginDelegateHelper::CanComposeInline() const {
48 return false;
49 }
50 } // namespace content
brettw 2012/11/30 23:18:12 Need blank before this.
nilesh 2012/12/01 00:41:35 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698