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

Side by Side Diff: Source/core/layout/LayoutQuote.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutQuote.h ('k') | Source/core/layout/LayoutReplaced.h » ('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) 2011 Nokia Inc. All rights reserved. 2 * Copyright (C) 2011 Nokia Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 detachQuote(); 53 detachQuote();
54 LayoutInline::willBeDestroyed(); 54 LayoutInline::willBeDestroyed();
55 } 55 }
56 56
57 void LayoutQuote::willBeRemovedFromTree() 57 void LayoutQuote::willBeRemovedFromTree()
58 { 58 {
59 LayoutInline::willBeRemovedFromTree(); 59 LayoutInline::willBeRemovedFromTree();
60 detachQuote(); 60 detachQuote();
61 } 61 }
62 62
63 void LayoutQuote::styleDidChange(StyleDifference diff, const LayoutStyle* oldSty le) 63 void LayoutQuote::styleDidChange(StyleDifference diff, const ComputedStyle* oldS tyle)
64 { 64 {
65 LayoutInline::styleDidChange(diff, oldStyle); 65 LayoutInline::styleDidChange(diff, oldStyle);
66 updateText(); 66 updateText();
67 } 67 }
68 68
69 struct Language { 69 struct Language {
70 const char* lang; 70 const char* lang;
71 UChar open1; 71 UChar open1;
72 UChar close1; 72 UChar close1;
73 UChar open2; 73 UChar open2;
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 if (m_depth) 399 if (m_depth)
400 m_depth--; 400 m_depth--;
401 break; 401 break;
402 } 402 }
403 } 403 }
404 if (oldDepth != m_depth) 404 if (oldDepth != m_depth)
405 updateText(); 405 updateText();
406 } 406 }
407 407
408 } // namespace blink 408 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutQuote.h ('k') | Source/core/layout/LayoutReplaced.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698