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

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.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
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_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void ViewWillInitiatePaint(); 109 void ViewWillInitiatePaint();
110 void ViewInitiatedPaint(); 110 void ViewInitiatedPaint();
111 void ViewFlushedPaint(); 111 void ViewFlushedPaint();
112 112
113 // Called by RenderView to implement the corresponding function in its base 113 // Called by RenderView to implement the corresponding function in its base
114 // class RenderWidget (see that for more). 114 // class RenderWidget (see that for more).
115 webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 115 webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
116 const gfx::Rect& paint_bounds, 116 const gfx::Rect& paint_bounds,
117 TransportDIB** dib, 117 TransportDIB** dib,
118 gfx::Rect* location, 118 gfx::Rect* location,
119 gfx::Rect* clip); 119 gfx::Rect* clip,
120 float* scale_factor);
120 121
121 // Called by RenderView when ViewMsg_AsyncOpenFile_ACK. 122 // Called by RenderView when ViewMsg_AsyncOpenFile_ACK.
122 void OnAsyncFileOpened(base::PlatformFileError error_code, 123 void OnAsyncFileOpened(base::PlatformFileError error_code,
123 base::PlatformFile file, 124 base::PlatformFile file,
124 int message_id); 125 int message_id);
125 126
126 // Called by RenderView when ViewMsg_PpapiBrokerChannelCreated. 127 // Called by RenderView when ViewMsg_PpapiBrokerChannelCreated.
127 void OnPpapiBrokerChannelCreated(int request_id, 128 void OnPpapiBrokerChannelCreated(int request_id,
128 const IPC::ChannelHandle& handle); 129 const IPC::ChannelHandle& handle);
129 130
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 523
523 scoped_ptr<PepperDeviceEnumerationEventHandler> 524 scoped_ptr<PepperDeviceEnumerationEventHandler>
524 device_enumeration_event_handler_; 525 device_enumeration_event_handler_;
525 526
526 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 527 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
527 }; 528 };
528 529
529 } // namespace content 530 } // namespace content
530 531
531 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 532 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698