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

Side by Side Diff: Source/core/rendering/RenderBoxModelObject.h

Issue 17471008: Rework compositor touch hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Various fixes and test additions Created 7 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * Copyright (C) 2010 Google Inc. All rights reserved. 5 * Copyright (C) 2010 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool startTransition(double, CSSPropertyID, const RenderStyle* fromStyle, co nst RenderStyle* toStyle); 181 bool startTransition(double, CSSPropertyID, const RenderStyle* fromStyle, co nst RenderStyle* toStyle);
182 void transitionPaused(double timeOffset, CSSPropertyID); 182 void transitionPaused(double timeOffset, CSSPropertyID);
183 void transitionFinished(CSSPropertyID); 183 void transitionFinished(CSSPropertyID);
184 184
185 bool startAnimation(double timeOffset, const CSSAnimationData*, const Keyfra meList& keyframes); 185 bool startAnimation(double timeOffset, const CSSAnimationData*, const Keyfra meList& keyframes);
186 void animationPaused(double timeOffset, const String& name); 186 void animationPaused(double timeOffset, const String& name);
187 void animationFinished(const String& name); 187 void animationFinished(const String& name);
188 188
189 void suspendAnimations(double time = 0); 189 void suspendAnimations(double time = 0);
190 190
191 virtual void computeLayerHitTestRects(LayerHitTestRects&) const OVERRIDE;
192
191 protected: 193 protected:
192 virtual void willBeDestroyed(); 194 virtual void willBeDestroyed();
193 195
194 class BackgroundImageGeometry { 196 class BackgroundImageGeometry {
195 public: 197 public:
196 IntPoint destOrigin() const { return m_destOrigin; } 198 IntPoint destOrigin() const { return m_destOrigin; }
197 void setDestOrigin(const IntPoint& destOrigin) 199 void setDestOrigin(const IntPoint& destOrigin)
198 { 200 {
199 m_destOrigin = destOrigin; 201 m_destOrigin = destOrigin;
200 } 202 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isBoxModelObject()); 332 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isBoxModelObject());
331 return static_cast<const RenderBoxModelObject*>(object); 333 return static_cast<const RenderBoxModelObject*>(object);
332 } 334 }
333 335
334 // This will catch anyone doing an unnecessary cast. 336 // This will catch anyone doing an unnecessary cast.
335 void toRenderBoxModelObject(const RenderBoxModelObject*); 337 void toRenderBoxModelObject(const RenderBoxModelObject*);
336 338
337 } // namespace WebCore 339 } // namespace WebCore
338 340
339 #endif // RenderBoxModelObject_h 341 #endif // RenderBoxModelObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698