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

Side by Side Diff: app/animation.cc

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() Created 10 years 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 | « app/animation.h ('k') | app/menus/menu_model.h » ('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) 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 "app/animation.h" 5 #include "app/animation.h"
6 6
7 #include "app/animation_container.h" 7 #include "app/animation_container.h"
8 #include "app/animation_delegate.h" 8 #include "app/animation_delegate.h"
9 #include "app/tween.h" 9 #include "app/tween.h"
10 #include "gfx/rect.h" 10 #include "gfx/rect.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // The document states that the result is TRUE when animations are 100 // The document states that the result is TRUE when animations are
101 // _disabled_, but in fact, it is TRUE when they are _enabled_. 101 // _disabled_, but in fact, it is TRUE when they are _enabled_.
102 return !!result; 102 return !!result;
103 } 103 }
104 } 104 }
105 return !::GetSystemMetrics(SM_REMOTESESSION); 105 return !::GetSystemMetrics(SM_REMOTESESSION);
106 #endif 106 #endif
107 return true; 107 return true;
108 } 108 }
109 109
110 bool Animation::ShouldSendCanceledFromStop() {
111 return false;
112 }
113
110 void Animation::SetStartTime(base::TimeTicks start_time) { 114 void Animation::SetStartTime(base::TimeTicks start_time) {
111 start_time_ = start_time; 115 start_time_ = start_time;
112 } 116 }
117
118 base::TimeDelta Animation::GetTimerInterval() const {
119 return timer_interval_;
120 }
OLDNEW
« no previous file with comments | « app/animation.h ('k') | app/menus/menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698