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

Side by Side Diff: content/renderer/render_widget_fullscreen_pepper.h

Issue 10905036: Pepper Flash Mac: Fix crash when playing video on MB retina (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable test on windows Created 8 years, 3 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/render_widget.cc ('k') | content/renderer/render_widget_fullscreen_pepper.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 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 10 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // RenderWidget API. 74 // RenderWidget API.
75 virtual void WillInitiatePaint() OVERRIDE; 75 virtual void WillInitiatePaint() OVERRIDE;
76 virtual void DidInitiatePaint() OVERRIDE; 76 virtual void DidInitiatePaint() OVERRIDE;
77 virtual void DidFlushPaint() OVERRIDE; 77 virtual void DidFlushPaint() OVERRIDE;
78 virtual void Close() OVERRIDE; 78 virtual void Close() OVERRIDE;
79 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 79 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
80 const gfx::Rect& paint_bounds, 80 const gfx::Rect& paint_bounds,
81 TransportDIB** dib, 81 TransportDIB** dib,
82 gfx::Rect* location, 82 gfx::Rect* location,
83 gfx::Rect* clip) OVERRIDE; 83 gfx::Rect* clip,
84 float* scale_factor) OVERRIDE;
84 virtual void OnResize(const gfx::Size& new_size, 85 virtual void OnResize(const gfx::Size& new_size,
85 const gfx::Rect& resizer_rect, 86 const gfx::Rect& resizer_rect,
86 bool is_fullscreen) OVERRIDE; 87 bool is_fullscreen) OVERRIDE;
87 88
88 // RenderWidgetFullscreen API. 89 // RenderWidgetFullscreen API.
89 virtual WebKit::WebWidget* CreateWebWidget() OVERRIDE; 90 virtual WebKit::WebWidget* CreateWebWidget() OVERRIDE;
90 91
91 // RenderWidget overrides. 92 // RenderWidget overrides.
92 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; 93 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE;
93 94
(...skipping 24 matching lines...) Expand all
118 unsigned int program_; 119 unsigned int program_;
119 120
120 base::WeakPtrFactory<RenderWidgetFullscreenPepper> weak_ptr_factory_; 121 base::WeakPtrFactory<RenderWidgetFullscreenPepper> weak_ptr_factory_;
121 122
122 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; 123 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); 125 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper);
125 }; 126 };
126 127
127 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 128 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698