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

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: Rebase 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 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 bool isFlexibleBoxIncludingDeprecated() const { 1438 bool isFlexibleBoxIncludingDeprecated() const {
1439 return isFlexibleBox() || isDeprecatedFlexibleBox(); 1439 return isFlexibleBox() || isDeprecatedFlexibleBox();
1440 } 1440 }
1441 1441
1442 virtual bool isCombineText() const { return false; } 1442 virtual bool isCombineText() const { return false; }
1443 1443
1444 virtual int caretMinOffset() const; 1444 virtual int caretMinOffset() const;
1445 virtual int caretMaxOffset() const; 1445 virtual int caretMaxOffset() const;
1446 1446
1447 // ImageResourceClient override. 1447 // ImageResourceClient override.
1448 void imageChanged(ImageResource*, const IntRect* = nullptr) final; 1448 void imageChanged(ImageResourceContent*, const IntRect* = nullptr) final;
1449 bool willRenderImage() final; 1449 bool willRenderImage() final;
1450 bool getImageAnimationPolicy(ImageAnimationPolicy&) final; 1450 bool getImageAnimationPolicy(ImageAnimationPolicy&) final;
1451 1451
1452 // Sub-classes that have an associated image need to override this function 1452 // Sub-classes that have an associated image need to override this function
1453 // to get notified of any image change. 1453 // to get notified of any image change.
1454 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {} 1454 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) {}
1455 1455
1456 void selectionStartEnd(int& spos, int& epos) const; 1456 void selectionStartEnd(int& spos, int& epos) const;
1457 1457
1458 void remove() { 1458 void remove() {
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after
2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2658 // We don't make object2 an optional parameter so that showLayoutTree 2658 // We don't make object2 an optional parameter so that showLayoutTree
2659 // can be called from gdb easily. 2659 // can be called from gdb easily.
2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2661 const blink::LayoutObject* object2); 2661 const blink::LayoutObject* object2);
2662 2662
2663 #endif 2663 #endif
2664 2664
2665 #endif // LayoutObject_h 2665 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698