| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 20 matching lines...) Expand all Loading... |
| 31 #include "core/layout/TextAutosizer.h" | 31 #include "core/layout/TextAutosizer.h" |
| 32 | 32 |
| 33 #include "core/dom/Document.h" | 33 #include "core/dom/Document.h" |
| 34 #include "core/frame/FrameHost.h" | 34 #include "core/frame/FrameHost.h" |
| 35 #include "core/frame/FrameView.h" | 35 #include "core/frame/FrameView.h" |
| 36 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
| 37 #include "core/frame/Settings.h" | 37 #include "core/frame/Settings.h" |
| 38 #include "core/frame/VisualViewport.h" | 38 #include "core/frame/VisualViewport.h" |
| 39 #include "core/html/HTMLTextAreaElement.h" | 39 #include "core/html/HTMLTextAreaElement.h" |
| 40 #include "core/layout/LayoutBlock.h" | 40 #include "core/layout/LayoutBlock.h" |
| 41 #include "core/layout/LayoutInline.h" |
| 41 #include "core/layout/LayoutListItem.h" | 42 #include "core/layout/LayoutListItem.h" |
| 42 #include "core/layout/LayoutListMarker.h" | 43 #include "core/layout/LayoutListMarker.h" |
| 43 #include "core/layout/LayoutTable.h" | 44 #include "core/layout/LayoutTable.h" |
| 44 #include "core/layout/LayoutTableCell.h" | 45 #include "core/layout/LayoutTableCell.h" |
| 45 #include "core/layout/LayoutView.h" | 46 #include "core/layout/LayoutView.h" |
| 46 #include "core/layout/line/InlineIterator.h" | |
| 47 #include "core/page/Page.h" | 47 #include "core/page/Page.h" |
| 48 | 48 |
| 49 #ifdef AUTOSIZING_DOM_DEBUG_INFO | 49 #ifdef AUTOSIZING_DOM_DEBUG_INFO |
| 50 #include "core/dom/ExecutionContextTask.h" | 50 #include "core/dom/ExecutionContextTask.h" |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| 54 | 54 |
| 55 #ifdef AUTOSIZING_DOM_DEBUG_INFO | 55 #ifdef AUTOSIZING_DOM_DEBUG_INFO |
| 56 class WriteDebugInfoTask : public ExecutionContextTask { | 56 class WriteDebugInfoTask : public ExecutionContextTask { |
| (...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 } | 1201 } |
| 1202 return computedSize; | 1202 return computedSize; |
| 1203 } | 1203 } |
| 1204 | 1204 |
| 1205 DEFINE_TRACE(TextAutosizer) | 1205 DEFINE_TRACE(TextAutosizer) |
| 1206 { | 1206 { |
| 1207 visitor->trace(m_document); | 1207 visitor->trace(m_document); |
| 1208 } | 1208 } |
| 1209 | 1209 |
| 1210 } // namespace blink | 1210 } // namespace blink |
| OLD | NEW |