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

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

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/rendering/InlineBox.h ('k') | sky/engine/core/rendering/InlineFlowBox.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 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 if (parent() && parent()->knownToHaveNoOverflow()) 305 if (parent() && parent()->knownToHaveNoOverflow())
306 parent()->clearKnownToHaveNoOverflow(); 306 parent()->clearKnownToHaveNoOverflow();
307 } 307 }
308 308
309 FloatPoint InlineBox::locationIncludingFlipping() 309 FloatPoint InlineBox::locationIncludingFlipping()
310 { 310 {
311 // FIXME(sky): remove 311 // FIXME(sky): remove
312 return FloatPoint(x(), y()); 312 return FloatPoint(x(), y());
313 } 313 }
314 314
315 void InlineBox::flipForWritingMode(FloatRect& rect)
316 {
317 // FIXME(sky): remove
318 }
319
320 FloatPoint InlineBox::flipForWritingMode(const FloatPoint& point)
321 {
322 // FIXME(sky): remove
323 return point;
324 }
325
326 void InlineBox::flipForWritingMode(LayoutRect& rect)
327 {
328 // FIXME(sky): remove
329 }
330
331 LayoutPoint InlineBox::flipForWritingMode(const LayoutPoint& point)
332 {
333 // FIXME(sky): remove
334 return point;
335 }
336
337 } // namespace blink 315 } // namespace blink
338 316
339 #ifndef NDEBUG 317 #ifndef NDEBUG
340 318
341 void showTree(const blink::InlineBox* b) 319 void showTree(const blink::InlineBox* b)
342 { 320 {
343 if (b) 321 if (b)
344 b->showTreeForThis(); 322 b->showTreeForThis();
345 } 323 }
346 324
347 void showLineTree(const blink::InlineBox* b) 325 void showLineTree(const blink::InlineBox* b)
348 { 326 {
349 if (b) 327 if (b)
350 b->showLineTreeForThis(); 328 b->showLineTreeForThis();
351 } 329 }
352 330
353 #endif 331 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/InlineBox.h ('k') | sky/engine/core/rendering/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698