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

Side by Side Diff: content/renderer/pepper_helper.cc

Issue 20987009: Rename PepperPluginDelegateImpl to PepperHelperImpl after getting rid of the PluginDelegate interfa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/pepper_helper.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #include "content/renderer/render_view_pepper_helper.h" 5 #include "content/renderer/pepper_helper.h"
6 6
7 #include "ui/gfx/rect.h" 7 #include "ui/gfx/rect.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 RenderViewPepperHelper::~RenderViewPepperHelper() { 11 PepperHelper::~PepperHelper() {
12 } 12 }
13 13
14 WebKit::WebPlugin* RenderViewPepperHelper::CreatePepperWebPlugin( 14 WebKit::WebPlugin* PepperHelper::CreatePepperWebPlugin(
15 const WebPluginInfo& webplugin_info, 15 const WebPluginInfo& webplugin_info,
16 const WebKit::WebPluginParams& params) { 16 const WebKit::WebPluginParams& params) {
17 return NULL; 17 return NULL;
18 } 18 }
19 19
20 PepperPluginInstanceImpl* 20 PepperPluginInstanceImpl* PepperHelper::GetBitmapForOptimizedPluginPaint(
21 RenderViewPepperHelper::GetBitmapForOptimizedPluginPaint( 21 const gfx::Rect& paint_bounds,
22 const gfx::Rect& paint_bounds, 22 TransportDIB** dib,
23 TransportDIB** dib, 23 gfx::Rect* location,
24 gfx::Rect* location, 24 gfx::Rect* clip,
25 gfx::Rect* clip, 25 float* scale_factor) {
26 float* scale_factor) {
27 return NULL; 26 return NULL;
28 } 27 }
29 28
30 bool RenderViewPepperHelper::IsPluginFocused() const { 29 bool PepperHelper::IsPluginFocused() const {
31 return false; 30 return false;
32 } 31 }
33 32
34 gfx::Rect RenderViewPepperHelper::GetCaretBounds() const { 33 gfx::Rect PepperHelper::GetCaretBounds() const {
35 return gfx::Rect(0, 0, 0, 0); 34 return gfx::Rect(0, 0, 0, 0);
36 } 35 }
37 36
38 ui::TextInputType RenderViewPepperHelper::GetTextInputType() const { 37 ui::TextInputType PepperHelper::GetTextInputType() const {
39 return ui::TEXT_INPUT_TYPE_NONE; 38 return ui::TEXT_INPUT_TYPE_NONE;
40 } 39 }
41 40
42 bool RenderViewPepperHelper::IsPluginAcceptingCompositionEvents() const { 41 bool PepperHelper::IsPluginAcceptingCompositionEvents() const {
43 return false; 42 return false;
44 } 43 }
45 44
46 bool RenderViewPepperHelper::CanComposeInline() const { 45 bool PepperHelper::CanComposeInline() const {
47 return false; 46 return false;
48 } 47 }
49 48
50 } // namespace content 49 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper_helper.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698