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

Side by Side Diff: sky/engine/core/rendering/InlineBox.h

Issue 684393002: Remove flipForWritingMode. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/editing/Caret.cpp ('k') | sky/engine/core/rendering/InlineBox.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) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r ights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r ights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 280
281 // Use with caution! The type is not checked! 281 // Use with caution! The type is not checked!
282 RenderBoxModelObject* boxModelObject() const 282 RenderBoxModelObject* boxModelObject() const
283 { 283 {
284 if (!renderer().isText()) 284 if (!renderer().isText())
285 return toRenderBoxModelObject(&renderer()); 285 return toRenderBoxModelObject(&renderer());
286 return 0; 286 return 0;
287 } 287 }
288 288
289 FloatPoint locationIncludingFlipping(); 289 FloatPoint locationIncludingFlipping();
290 void flipForWritingMode(FloatRect&);
291 FloatPoint flipForWritingMode(const FloatPoint&);
292 void flipForWritingMode(LayoutRect&);
293 LayoutPoint flipForWritingMode(const LayoutPoint&);
294 290
295 bool knownToHaveNoOverflow() const { return m_bitfields.knownToHaveNoOverflo w(); } 291 bool knownToHaveNoOverflow() const { return m_bitfields.knownToHaveNoOverflo w(); }
296 void clearKnownToHaveNoOverflow(); 292 void clearKnownToHaveNoOverflow();
297 293
298 bool dirOverride() const { return m_bitfields.dirOverride(); } 294 bool dirOverride() const { return m_bitfields.dirOverride(); }
299 void setDirOverride(bool dirOverride) { m_bitfields.setDirOverride(dirOverri de); } 295 void setDirOverride(bool dirOverride) { m_bitfields.setDirOverride(dirOverri de); }
300 296
301 #define ADD_BOOLEAN_BITFIELD(name, Name) \ 297 #define ADD_BOOLEAN_BITFIELD(name, Name) \
302 private:\ 298 private:\
303 unsigned m_##name : 1;\ 299 unsigned m_##name : 1;\
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 431
436 } // namespace blink 432 } // namespace blink
437 433
438 #ifndef NDEBUG 434 #ifndef NDEBUG
439 // Outside the WebCore namespace for ease of invocation from gdb. 435 // Outside the WebCore namespace for ease of invocation from gdb.
440 void showTree(const blink::InlineBox*); 436 void showTree(const blink::InlineBox*);
441 void showLineTree(const blink::InlineBox*); 437 void showLineTree(const blink::InlineBox*);
442 #endif 438 #endif
443 439
444 #endif // InlineBox_h 440 #endif // InlineBox_h
OLDNEW
« no previous file with comments | « sky/engine/core/editing/Caret.cpp ('k') | sky/engine/core/rendering/InlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698