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

Side by Side Diff: content/renderer/render_widget.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_view_impl.cc ('k') | content/renderer/render_widget.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_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 // can be handled by just blitting the plugin bitmap. In this case, the 310 // can be handled by just blitting the plugin bitmap. In this case, the
311 // location, clipping, and ID of the backing store will be filled into the 311 // location, clipping, and ID of the backing store will be filled into the
312 // given output parameters. 312 // given output parameters.
313 // 313 //
314 // A return value of null means optimized painting can not be used and we 314 // A return value of null means optimized painting can not be used and we
315 // should continue with the normal painting code path. 315 // should continue with the normal painting code path.
316 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 316 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
317 const gfx::Rect& paint_bounds, 317 const gfx::Rect& paint_bounds,
318 TransportDIB** dib, 318 TransportDIB** dib,
319 gfx::Rect* location, 319 gfx::Rect* location,
320 gfx::Rect* clip); 320 gfx::Rect* clip,
321 float* scale_factor);
321 322
322 // Gets the scroll offset of this widget, if this widget has a notion of 323 // Gets the scroll offset of this widget, if this widget has a notion of
323 // scroll offset. 324 // scroll offset.
324 virtual gfx::Point GetScrollOffset(); 325 virtual gfx::Point GetScrollOffset();
325 326
326 // Sets the "hidden" state of this widget. All accesses to is_hidden_ should 327 // Sets the "hidden" state of this widget. All accesses to is_hidden_ should
327 // use this method so that we can properly inform the RenderThread of our 328 // use this method so that we can properly inform the RenderThread of our
328 // state. 329 // state.
329 void SetHidden(bool hidden); 330 void SetHidden(bool hidden);
330 331
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 // State associated with the BeginSmoothScroll synthetic scrolling function. 596 // State associated with the BeginSmoothScroll synthetic scrolling function.
596 int next_smooth_scroll_gesture_id_; 597 int next_smooth_scroll_gesture_id_;
597 typedef std::map<int, SmoothScrollCompletionCallback> 598 typedef std::map<int, SmoothScrollCompletionCallback>
598 PendingSmoothScrollGestureMap; 599 PendingSmoothScrollGestureMap;
599 PendingSmoothScrollGestureMap pending_smooth_scroll_gestures_; 600 PendingSmoothScrollGestureMap pending_smooth_scroll_gestures_;
600 601
601 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 602 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
602 }; 603 };
603 604
604 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 605 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698