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

Unified Diff: app/slide_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/slide_animation.h ('k') | app/throb_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/slide_animation.cc
diff --git a/app/slide_animation.cc b/app/slide_animation.cc
index c79e3ec308201b5dc12a2022d1c8d8914996cc14..9029fd8fafd8c7748309c28bba4b01a324e69d6a 100644
--- a/app/slide_animation.cc
+++ b/app/slide_animation.cc
@@ -80,6 +80,14 @@ void SlideAnimation::Hide() {
Start();
}
+void SlideAnimation::SetSlideDuration(int duration) {
+ slide_duration_ = duration;
+}
+
+double SlideAnimation::GetCurrentValue() const {
+ return value_current_;
+}
+
void SlideAnimation::AnimateToState(double state) {
if (state > 1.0)
state = 1.0;
« no previous file with comments | « app/slide_animation.h ('k') | app/throb_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698