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

Side by Side Diff: chrome/renderer/render_widget_fullscreen_pepper.cc

Issue 6161005: Revert 70626 - Chromium support for webkitAnimationTime property... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « no previous file | no next file » | 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) 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 #include "chrome/renderer/render_widget_fullscreen_pepper.h" 5 #include "chrome/renderer/render_widget_fullscreen_pepper.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/ggl/ggl.h" 8 #include "chrome/renderer/ggl/ggl.h"
9 #include "chrome/renderer/gpu_channel_host.h" 9 #include "chrome/renderer/gpu_channel_host.h"
10 #include "chrome/renderer/pepper_platform_context_3d_impl.h" 10 #include "chrome/renderer/pepper_platform_context_3d_impl.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 return size_; 49 return size_;
50 } 50 }
51 51
52 virtual void resize(const WebSize& size) { 52 virtual void resize(const WebSize& size) {
53 size_ = size; 53 size_ = size;
54 WebRect plugin_rect(0, 0, size_.width, size_.height); 54 WebRect plugin_rect(0, 0, size_.width, size_.height);
55 plugin_->ViewChanged(plugin_rect, plugin_rect); 55 plugin_->ViewChanged(plugin_rect, plugin_rect);
56 widget_->Invalidate(); 56 widget_->Invalidate();
57 } 57 }
58 58
59 virtual void clearCurrentAnimationTime() {
60 }
61
62 virtual void layout() { 59 virtual void layout() {
63 } 60 }
64 61
65 virtual void paint(WebCanvas* canvas, const WebRect& rect) { 62 virtual void paint(WebCanvas* canvas, const WebRect& rect) {
66 if (!plugin_) 63 if (!plugin_)
67 return; 64 return;
68 WebRect plugin_rect(0, 0, size_.width, size_.height); 65 WebRect plugin_rect(0, 0, size_.width, size_.height);
69 plugin_->Paint(canvas, plugin_rect, rect); 66 plugin_->Paint(canvas, plugin_rect, rect);
70 } 67 }
71 68
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 return true; 414 return true;
418 } 415 }
419 416
420 bool RenderWidgetFullscreenPepper::CheckCompositing() { 417 bool RenderWidgetFullscreenPepper::CheckCompositing() {
421 bool compositing = webwidget_->isAcceleratedCompositingActive(); 418 bool compositing = webwidget_->isAcceleratedCompositingActive();
422 if (compositing != is_accelerated_compositing_active_) { 419 if (compositing != is_accelerated_compositing_active_) {
423 didActivateAcceleratedCompositing(compositing); 420 didActivateAcceleratedCompositing(compositing);
424 } 421 }
425 return compositing; 422 return compositing;
426 } 423 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698