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

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: style 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 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 bool isFlexibleBoxIncludingDeprecated() const { 1439 bool isFlexibleBoxIncludingDeprecated() const {
1440 return isFlexibleBox() || isDeprecatedFlexibleBox(); 1440 return isFlexibleBox() || isDeprecatedFlexibleBox();
1441 } 1441 }
1442 1442
1443 virtual bool isCombineText() const { return false; } 1443 virtual bool isCombineText() const { return false; }
1444 1444
1445 virtual int caretMinOffset() const; 1445 virtual int caretMinOffset() const;
1446 virtual int caretMaxOffset() const; 1446 virtual int caretMaxOffset() const;
1447 1447
1448 // ImageResourceClient override. 1448 // ImageResourceClient override.
1449 void imageChanged(ImageResource*, const IntRect* = nullptr) final; 1449 void imageChanged(ImageResourceContent*, const IntRect* = nullptr) final;
1450 bool willRenderImage() final; 1450 bool willRenderImage() final;
1451 bool getImageAnimationPolicy(ImageAnimationPolicy&) final; 1451 bool getImageAnimationPolicy(ImageAnimationPolicy&) final;
1452 1452
1453 // Sub-classes that have an associated image need to override this function 1453 // Sub-classes that have an associated image need to override this function
1454 // to get notified of any image change. 1454 // to get notified of any image change.
1455 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {} 1455 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {}
1456 1456
1457 void selectionStartEnd(int& spos, int& epos) const; 1457 void selectionStartEnd(int& spos, int& epos) const;
1458 1458
1459 void remove() { 1459 void remove() {
(...skipping 1197 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutListMarker.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698