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

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

Issue 2400863005: Reformat comments in core/layout up until LayoutTableRow (Closed)
Patch Set: Created 4 years, 2 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #define LayoutRubyRun_h 32 #define LayoutRubyRun_h
33 33
34 #include "core/layout/LayoutBlockFlow.h" 34 #include "core/layout/LayoutBlockFlow.h"
35 #include "platform/text/TextBreakIterator.h" 35 #include "platform/text/TextBreakIterator.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class LayoutRubyBase; 39 class LayoutRubyBase;
40 class LayoutRubyText; 40 class LayoutRubyText;
41 41
42 // LayoutRubyRun are 'inline-block/table' like objects,and wrap a single pairing of a ruby base with its ruby text(s). 42 // LayoutRubyRun are 'inline-block/table' like objects,and wrap a single pairing
43 // of a ruby base with its ruby text(s).
43 // See LayoutRuby.h for further comments on the structure 44 // See LayoutRuby.h for further comments on the structure
44 45
45 class LayoutRubyRun final : public LayoutBlockFlow { 46 class LayoutRubyRun final : public LayoutBlockFlow {
46 public: 47 public:
47 ~LayoutRubyRun() override; 48 ~LayoutRubyRun() override;
48 49
49 bool hasRubyText() const; 50 bool hasRubyText() const;
50 bool hasRubyBase() const; 51 bool hasRubyBase() const;
51 LayoutRubyText* rubyText() const; 52 LayoutRubyText* rubyText() const;
52 LayoutRubyBase* rubyBase() const; 53 LayoutRubyBase* rubyBase() const;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 } 86 }
86 bool createsAnonymousWrapper() const override { return true; } 87 bool createsAnonymousWrapper() const override { return true; }
87 void removeLeftoverAnonymousBlock(LayoutBlock*) override {} 88 void removeLeftoverAnonymousBlock(LayoutBlock*) override {}
88 }; 89 };
89 90
90 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutRubyRun, isRubyRun()); 91 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutRubyRun, isRubyRun());
91 92
92 } // namespace blink 93 } // namespace blink
93 94
94 #endif // LayoutRubyRun_h 95 #endif // LayoutRubyRun_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698