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

Side by Side Diff: content/renderer/pepper/mock_renderer_ppapi_host.cc

Issue 11053003: Migrate Graphics2D to new design. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: temp dependencies Created 8 years, 1 month 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 (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/pepper/mock_renderer_ppapi_host.h" 5 #include "content/renderer/pepper/mock_renderer_ppapi_host.h"
6 6
7 7
8 namespace content { 8 namespace content {
9 9
10 MockRendererPpapiHost::MockRendererPpapiHost(RenderView* render_view, 10 MockRendererPpapiHost::MockRendererPpapiHost(RenderView* render_view,
(...skipping 22 matching lines...) Expand all
33 return render_view_; 33 return render_view_;
34 return NULL; 34 return NULL;
35 } 35 }
36 36
37 WebKit::WebPluginContainer* MockRendererPpapiHost::GetContainerForInstance( 37 WebKit::WebPluginContainer* MockRendererPpapiHost::GetContainerForInstance(
38 PP_Instance instance) const { 38 PP_Instance instance) const {
39 NOTIMPLEMENTED(); 39 NOTIMPLEMENTED();
40 return NULL; 40 return NULL;
41 } 41 }
42 42
43 webkit::ppapi::PluginDelegate::PlatformGraphics2D*
44 MockRendererPpapiHost::GetPlatformGraphics2D(PP_Resource resource) {
45 NOTIMPLEMENTED();
46 return NULL;
47 }
48
43 bool MockRendererPpapiHost::HasUserGesture(PP_Instance instance) const { 49 bool MockRendererPpapiHost::HasUserGesture(PP_Instance instance) const {
44 return has_user_gesture_; 50 return has_user_gesture_;
45 } 51 }
46 52
53 bool MockRendererPpapiHost::IsRunningInProcess() const {
54 NOTIMPLEMENTED();
55 return false;
56 }
57
47 } // namespace content 58 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698