summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/hi_res_timer_manager.h2
-rw-r--r--app/slide_animation.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/hi_res_timer_manager.h b/app/hi_res_timer_manager.h
index 7eed795..7f3b87b 100644
--- a/app/hi_res_timer_manager.h
+++ b/app/hi_res_timer_manager.h
@@ -16,7 +16,7 @@ class HighResolutionTimerManager : public SystemMonitor::PowerObserver {
virtual ~HighResolutionTimerManager();
// SystemMonitor::PowerObserver:
- void OnPowerStateChange(bool on_battery_power);
+ virtual void OnPowerStateChange(bool on_battery_power);
private:
// Enable or disable the faster multimedia timer.
diff --git a/app/slide_animation.h b/app/slide_animation.h
index 91e64bc..d073db1 100644
--- a/app/slide_animation.h
+++ b/app/slide_animation.h
@@ -65,13 +65,13 @@ class SlideAnimation : public LinearAnimation {
int GetSlideDuration() const { return slide_duration_; }
void SetTweenType(Tween::Type tween_type) { tween_type_ = tween_type; }
- double GetCurrentValue() const { return value_current_; }
+ virtual double GetCurrentValue() const { return value_current_; }
bool IsShowing() const { return showing_; }
bool IsClosing() const { return !showing_ && value_end_ < value_current_; }
private:
// Overridden from Animation.
- void AnimateToState(double state);
+ virtual void AnimateToState(double state);
AnimationDelegate* target_;