virtual ~DeleteAfterAnimation() {}
// ui::ImplicitAnimationObserver:
- virtual void OnImplicitAnimationsCompleted() OVERRIDE {
+ virtual void OnImplicitAnimationsCompleted() override {
// Deleting an observer when a ScopedLayerAnimationSettings is iterating
// over them can cause a crash (which can happen during tests). So instead,
// schedule this observer to be deleted soon.
CHECK(!image_.IsEmpty());
}
- virtual ~ArrowLayerDelegate() {}
+ ~ArrowLayerDelegate() override {}
bool left() const { return left_arrow_; }
private:
// ui::LayerDelegate:
- virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE {
+ void OnPaintLayer(gfx::Canvas* canvas) override {
SkPaint paint;
paint.setColor(SkColorSetARGB(0xa0, 0, 0, 0));
paint.setStyle(SkPaint::kFill_Style);
(kArrowHeight - image_.Height()) / 2);
}
- virtual void OnDelegatedFrameDamage(
- const gfx::Rect& damage_rect_in_dip) OVERRIDE {}
+ void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) override {}
- virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE {}
+ void OnDeviceScaleFactorChanged(float device_scale_factor) override {}
- virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE {
+ base::Closure PrepareForLayerBoundsChange() override {
return base::Closure();
}