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

Side by Side Diff: sky/engine/core/dom/Element.h

Issue 1208483002: Expose baseline information in the Sky API. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months 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 | « no previous file | sky/engine/core/dom/Element.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 double height() const; 216 double height() const;
217 void setHeight(double); 217 void setHeight(double);
218 218
219 double minContentWidth() const; 219 double minContentWidth() const;
220 void setMinContentWidth(double); 220 void setMinContentWidth(double);
221 221
222 double maxContentWidth() const; 222 double maxContentWidth() const;
223 void setMaxContentWidth(double); 223 void setMaxContentWidth(double);
224 224
225 double alphabeticBaseline() const;
226 double ideographicBaseline() const;
227
225 void setNeedsLayout(); 228 void setNeedsLayout();
226 void layout(); 229 void layout();
227 230
228 LayoutCallback* intrinsicWidthsComputer() const; 231 LayoutCallback* intrinsicWidthsComputer() const;
229 LayoutCallback* layoutManager() const; 232 LayoutCallback* layoutManager() const;
230 void setLayoutManager(PassOwnPtr<LayoutCallback> layoutManager, 233 void setLayoutManager(PassOwnPtr<LayoutCallback> layoutManager,
231 PassOwnPtr<LayoutCallback> intrinsicWidthsComputer); 234 PassOwnPtr<LayoutCallback> intrinsicWidthsComputer);
232 235
233 RenderStyle* computedStyle(); 236 RenderStyle* computedStyle();
234 237
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 static PassRefPtr<T> create(const QualifiedName&, Document&) 591 static PassRefPtr<T> create(const QualifiedName&, Document&)
589 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 592 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
590 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 593 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \
591 { \ 594 { \
592 return adoptRef(new T(tagName, document)); \ 595 return adoptRef(new T(tagName, document)); \
593 } 596 }
594 597
595 } // namespace 598 } // namespace
596 599
597 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ 600 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698