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

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

Issue 33483002: Have Frame::animation() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 virtual int nextOffset(int current) const; 947 virtual int nextOffset(int current) const;
948 948
949 virtual void imageChanged(ImageResource*, const IntRect* = 0); 949 virtual void imageChanged(ImageResource*, const IntRect* = 0);
950 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } 950 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { }
951 virtual bool willRenderImage(ImageResource*); 951 virtual bool willRenderImage(ImageResource*);
952 952
953 void selectionStartEnd(int& spos, int& epos) const; 953 void selectionStartEnd(int& spos, int& epos) const;
954 954
955 void remove() { if (parent()) parent()->removeChild(this); } 955 void remove() { if (parent()) parent()->removeChild(this); }
956 956
957 AnimationController* animation() const; 957 AnimationController& animation() const;
958 958
959 bool isInert() const; 959 bool isInert() const;
960 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style() ->pointerEvents() != PE_NONE) && !isInert(); } 960 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style() ->pointerEvents() != PE_NONE) && !isInert(); }
961 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE & & style()->pointerEvents() != PE_NONE && !isInert(); } 961 bool visibleToHitTesting() const { return style()->visibility() == VISIBLE & & style()->pointerEvents() != PE_NONE && !isInert(); }
962 962
963 // Map points and quads through elements, potentially via 3d transforms. You should never need to call these directly; use 963 // Map points and quads through elements, potentially via 3d transforms. You should never need to call these directly; use
964 // localToAbsolute/absoluteToLocal methods instead. 964 // localToAbsolute/absoluteToLocal methods instead.
965 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const; 965 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const;
966 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst; 966 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst;
967 967
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 void showTree(const WebCore::RenderObject*); 1390 void showTree(const WebCore::RenderObject*);
1391 void showLineTree(const WebCore::RenderObject*); 1391 void showLineTree(const WebCore::RenderObject*);
1392 void showRenderTree(const WebCore::RenderObject* object1); 1392 void showRenderTree(const WebCore::RenderObject* object1);
1393 // We don't make object2 an optional parameter so that showRenderTree 1393 // We don't make object2 an optional parameter so that showRenderTree
1394 // can be called from gdb easily. 1394 // can be called from gdb easily.
1395 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1395 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1396 1396
1397 #endif 1397 #endif
1398 1398
1399 #endif // RenderObject_h 1399 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698