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

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: CR feedback - accumulate LayoutRects instead of IntRects, disable when page isn't composited. Also… 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
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderBoxModelObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 bool startTransition(double, CSSPropertyID, const RenderStyle* fromStyle, co nst RenderStyle* toStyle); 180 bool startTransition(double, CSSPropertyID, const RenderStyle* fromStyle, co nst RenderStyle* toStyle);
181 void transitionPaused(double timeOffset, CSSPropertyID); 181 void transitionPaused(double timeOffset, CSSPropertyID);
182 void transitionFinished(CSSPropertyID); 182 void transitionFinished(CSSPropertyID);
183 183
184 bool startAnimation(double timeOffset, const CSSAnimationData*, const Keyfra meList& keyframes); 184 bool startAnimation(double timeOffset, const CSSAnimationData*, const Keyfra meList& keyframes);
185 void animationPaused(double timeOffset, const String& name); 185 void animationPaused(double timeOffset, const String& name);
186 void animationFinished(const String& name); 186 void animationFinished(const String& name);
187 187
188 void suspendAnimations(double time = 0); 188 void suspendAnimations(double time = 0);
189 189
190 virtual void computeLayerHitTestRects(LayerHitTestRects&) const OVERRIDE;
191
190 protected: 192 protected:
191 virtual void willBeDestroyed(); 193 virtual void willBeDestroyed();
192 194
193 class BackgroundImageGeometry { 195 class BackgroundImageGeometry {
194 public: 196 public:
195 IntPoint destOrigin() const { return m_destOrigin; } 197 IntPoint destOrigin() const { return m_destOrigin; }
196 void setDestOrigin(const IntPoint& destOrigin) 198 void setDestOrigin(const IntPoint& destOrigin)
197 { 199 {
198 m_destOrigin = destOrigin; 200 m_destOrigin = destOrigin;
199 } 201 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isBoxModelObject()); 331 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isBoxModelObject());
330 return static_cast<const RenderBoxModelObject*>(object); 332 return static_cast<const RenderBoxModelObject*>(object);
331 } 333 }
332 334
333 // This will catch anyone doing an unnecessary cast. 335 // This will catch anyone doing an unnecessary cast.
334 void toRenderBoxModelObject(const RenderBoxModelObject*); 336 void toRenderBoxModelObject(const RenderBoxModelObject*);
335 337
336 } // namespace WebCore 338 } // namespace WebCore
337 339
338 #endif // RenderBoxModelObject_h 340 #endif // RenderBoxModelObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698