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

Side by Side Diff: chrome/renderer/pepper_plugin_delegate_impl.h

Issue 2865003: Working towards -Wextra... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/weak_ptr.h" 9 #include "base/weak_ptr.h"
10 #include "webkit/glue/plugins/pepper_plugin_delegate.h" 10 #include "webkit/glue/plugins/pepper_plugin_delegate.h"
11 #include "webkit/glue/plugins/pepper_plugin_instance.h"
11 12
12 class RenderView; 13 class RenderView;
13 14
14 class PepperPluginDelegateImpl 15 class PepperPluginDelegateImpl
15 : public pepper::PluginDelegate, 16 : public pepper::PluginDelegate,
16 public base::SupportsWeakPtr<PepperPluginDelegateImpl> { 17 public base::SupportsWeakPtr<PepperPluginDelegateImpl> {
17 public: 18 public:
18 explicit PepperPluginDelegateImpl(RenderView* render_view); 19 explicit PepperPluginDelegateImpl(RenderView* render_view);
19 20
20 // pepper::PluginDelegate implementation. 21 // pepper::PluginDelegate implementation.
21 virtual PlatformImage2D* CreateImage2D(int width, int height); 22 virtual PlatformImage2D* CreateImage2D(int width, int height);
22 23
23 private: 24 private:
24 // Pointer to the RenderView that owns us. 25 // Pointer to the RenderView that owns us.
25 RenderView* render_view_; 26 RenderView* render_view_;
26 27
27 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 28 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
28 }; 29 };
29 30
30 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 31 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/tab_restore_service.cc ('k') | gpu/command_buffer/common/id_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698