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

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: comments 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 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 bool isFlexibleBoxIncludingDeprecated() const { 1451 bool isFlexibleBoxIncludingDeprecated() const {
1452 return isFlexibleBox() || isDeprecatedFlexibleBox(); 1452 return isFlexibleBox() || isDeprecatedFlexibleBox();
1453 } 1453 }
1454 1454
1455 virtual bool isCombineText() const { return false; } 1455 virtual bool isCombineText() const { return false; }
1456 1456
1457 virtual int caretMinOffset() const; 1457 virtual int caretMinOffset() const;
1458 virtual int caretMaxOffset() const; 1458 virtual int caretMaxOffset() const;
1459 1459
1460 // ImageResourceClient override. 1460 // ImageResourceClient override.
1461 void imageChanged(ImageResource*, const IntRect* = nullptr) final; 1461 void imageChanged(ImageResourceContent*, const IntRect* = nullptr) final;
1462 bool willRenderImage() final; 1462 bool willRenderImage() final;
1463 bool getImageAnimationPolicy(ImageAnimationPolicy&) final; 1463 bool getImageAnimationPolicy(ImageAnimationPolicy&) final;
1464 1464
1465 // Sub-classes that have an associated image need to override this function 1465 // Sub-classes that have an associated image need to override this function
1466 // to get notified of any image change. 1466 // to get notified of any image change.
1467 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {} 1467 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {}
1468 1468
1469 void selectionStartEnd(int& spos, int& epos) const; 1469 void selectionStartEnd(int& spos, int& epos) const;
1470 1470
1471 void remove() { 1471 void remove() {
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2657 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2657 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2658 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2658 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2659 // We don't make object2 an optional parameter so that showLayoutTree 2659 // We don't make object2 an optional parameter so that showLayoutTree
2660 // can be called from gdb easily. 2660 // can be called from gdb easily.
2661 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2661 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2662 const blink::LayoutObject* object2); 2662 const blink::LayoutObject* object2);
2663 2663
2664 #endif 2664 #endif
2665 2665
2666 #endif // LayoutObject_h 2666 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698