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

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

Issue 754813002: Expose setting API to set ImageAnimationPolicy(Allowed, Once, None) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update Code Created 6 years 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/frame/Settings.in ('k') | Source/core/rendering/RenderObject.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) 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 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 virtual int caretMinOffset() const; 944 virtual int caretMinOffset() const;
945 virtual int caretMaxOffset() const; 945 virtual int caretMaxOffset() const;
946 946
947 virtual int previousOffset(int current) const; 947 virtual int previousOffset(int current) const;
948 virtual int previousOffsetForBackwardDeletion(int current) const; 948 virtual int previousOffsetForBackwardDeletion(int current) const;
949 virtual int nextOffset(int current) const; 949 virtual int nextOffset(int current) const;
950 950
951 virtual void imageChanged(ImageResource*, const IntRect* = 0) override final ; 951 virtual void imageChanged(ImageResource*, const IntRect* = 0) override final ;
952 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { } 952 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { }
953 virtual bool willRenderImage(ImageResource*) override final; 953 virtual bool willRenderImage(ImageResource*) override final;
954 virtual bool getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy&) override final;
954 955
955 void selectionStartEnd(int& spos, int& epos) const; 956 void selectionStartEnd(int& spos, int& epos) const;
956 957
957 void remove() { if (parent()) parent()->removeChild(this); } 958 void remove() { if (parent()) parent()->removeChild(this); }
958 959
959 bool isInert() const; 960 bool isInert() const;
960 961
961 bool supportsTouchAction() const; 962 bool supportsTouchAction() const;
962 963
963 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style() ->pointerEvents() != PE_NONE) && !isInert(); } 964 bool visibleToHitTestRequest(const HitTestRequest& request) const { return s tyle()->visibility() == VISIBLE && (request.ignorePointerEventsNone() || style() ->pointerEvents() != PE_NONE) && !isInert(); }
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 void showTree(const blink::RenderObject*); 1617 void showTree(const blink::RenderObject*);
1617 void showLineTree(const blink::RenderObject*); 1618 void showLineTree(const blink::RenderObject*);
1618 void showRenderTree(const blink::RenderObject* object1); 1619 void showRenderTree(const blink::RenderObject* object1);
1619 // We don't make object2 an optional parameter so that showRenderTree 1620 // We don't make object2 an optional parameter so that showRenderTree
1620 // can be called from gdb easily. 1621 // can be called from gdb easily.
1621 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1622 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1622 1623
1623 #endif 1624 #endif
1624 1625
1625 #endif // RenderObject_h 1626 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698