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

Side by Side Diff: third_party/WebKit/Source/core/layout/api/LineLayoutItem.h

Issue 1756763002: 2016-03-02T18:53:01 LayoutPosition Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-04-25T19:02:18 Created 4 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LineLayoutItem_h 5 #ifndef LineLayoutItem_h
6 #define LineLayoutItem_h 6 #define LineLayoutItem_h
7 7
8 #include "core/layout/LayoutObject.h" 8 #include "core/layout/LayoutObject.h"
9 #include "core/layout/LayoutObjectInlines.h" 9 #include "core/layout/LayoutObjectInlines.h"
10 10
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 #endif 457 #endif
458 458
459 protected: 459 protected:
460 LayoutObject* layoutObject() { return m_layoutObject; } 460 LayoutObject* layoutObject() { return m_layoutObject; }
461 const LayoutObject* layoutObject() const { return m_layoutObject; } 461 const LayoutObject* layoutObject() const { return m_layoutObject; }
462 462
463 private: 463 private:
464 LayoutObject* m_layoutObject; 464 LayoutObject* m_layoutObject;
465 465
466 friend class LayoutBlockFlow; 466 friend class LayoutBlockFlow;
467 friend class LayoutPosition;
467 friend class LineLayoutAPIShim; 468 friend class LineLayoutAPIShim;
468 friend class LineLayoutBlockFlow; 469 friend class LineLayoutBlockFlow;
469 friend class LineLayoutBox; 470 friend class LineLayoutBox;
470 friend class LineLayoutRubyRun; 471 friend class LineLayoutRubyRun;
471 }; 472 };
472 473
473 } // namespace blink 474 } // namespace blink
474 475
475 namespace WTF { 476 namespace WTF {
476 477
477 template <> 478 template <>
478 struct DefaultHash<blink::LineLayoutItem> { 479 struct DefaultHash<blink::LineLayoutItem> {
479 using Hash = blink::LineLayoutItem::LineLayoutItemHash; 480 using Hash = blink::LineLayoutItem::LineLayoutItemHash;
480 }; 481 };
481 482
482 template <> 483 template <>
483 struct HashTraits<blink::LineLayoutItem> : SimpleClassHashTraits<blink::LineLayo utItem> { 484 struct HashTraits<blink::LineLayoutItem> : SimpleClassHashTraits<blink::LineLayo utItem> {
484 STATIC_ONLY(HashTraits); 485 STATIC_ONLY(HashTraits);
485 }; 486 };
486 487
487 } // namespace WTF 488 } // namespace WTF
488 489
489 490
490 #endif // LineLayoutItem_h 491 #endif // LineLayoutItem_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/line/InlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698