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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: fix Created 4 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
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. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc.
7 * All rights reserved. 7 * All rights reserved.
8 * Copyright (C) 2009 Google Inc. All rights reserved. 8 * Copyright (C) 2009 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 bool isFlexibleBoxIncludingDeprecated() const { 1450 bool isFlexibleBoxIncludingDeprecated() const {
1451 return isFlexibleBox() || isDeprecatedFlexibleBox(); 1451 return isFlexibleBox() || isDeprecatedFlexibleBox();
1452 } 1452 }
1453 1453
1454 virtual bool isCombineText() const { return false; } 1454 virtual bool isCombineText() const { return false; }
1455 1455
1456 virtual int caretMinOffset() const; 1456 virtual int caretMinOffset() const;
1457 virtual int caretMaxOffset() const; 1457 virtual int caretMaxOffset() const;
1458 1458
1459 // ImageResourceClient override. 1459 // ImageResourceClient override.
1460 void imageChanged(ImageResource*, const IntRect* = nullptr) final; 1460 void imageChanged(ImageResourceContent*, const IntRect* = nullptr) final;
1461 bool willRenderImage() final; 1461 bool willRenderImage() final;
1462 bool getImageAnimationPolicy(ImageAnimationPolicy&) final; 1462 bool getImageAnimationPolicy(ImageAnimationPolicy&) final;
1463 1463
1464 // Sub-classes that have an associated image need to override this function 1464 // Sub-classes that have an associated image need to override this function
1465 // to get notified of any image change. 1465 // to get notified of any image change.
1466 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {} 1466 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {}
1467 1467
1468 void selectionStartEnd(int& spos, int& epos) const; 1468 void selectionStartEnd(int& spos, int& epos) const;
1469 1469
1470 void remove() { 1470 void remove() {
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after
2662 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2662 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2663 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2663 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2664 // We don't make object2 an optional parameter so that showLayoutTree 2664 // We don't make object2 an optional parameter so that showLayoutTree
2665 // can be called from gdb easily. 2665 // can be called from gdb easily.
2666 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2666 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2667 const blink::LayoutObject* object2); 2667 const blink::LayoutObject* object2);
2668 2668
2669 #endif 2669 #endif
2670 2670
2671 #endif // LayoutObject_h 2671 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698