| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ | 22 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ |
| 23 #define SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ | 23 #define SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ |
| 24 | 24 |
| 25 #include "sky/engine/core/frame/FrameView.h" | 25 #include "sky/engine/core/frame/FrameView.h" |
| 26 #include "sky/engine/core/rendering/LayoutState.h" | 26 #include "sky/engine/core/rendering/LayoutState.h" |
| 27 #include "sky/engine/core/rendering/RenderBlockFlow.h" | 27 #include "sky/engine/core/rendering/RenderBlockFlow.h" |
| 28 #include "sky/engine/core/rendering/RenderIFrame.h" | 28 #include "sky/engine/core/rendering/RenderIFrame.h" |
| 29 #include "sky/engine/platform/scroll/ScrollableArea.h" | |
| 30 #include "sky/engine/wtf/OwnPtr.h" | 29 #include "sky/engine/wtf/OwnPtr.h" |
| 31 | 30 |
| 32 namespace blink { | 31 namespace blink { |
| 33 | 32 |
| 34 // The root of the render tree, corresponding to the CSS initial containing bloc
k. | 33 // The root of the render tree, corresponding to the CSS initial containing bloc
k. |
| 35 // It's dimensions match that of the logical viewport (which may be different fr
om | 34 // It's dimensions match that of the logical viewport (which may be different fr
om |
| 36 // the visible viewport in fixed-layout mode), and it is always at position (0,0
) | 35 // the visible viewport in fixed-layout mode), and it is always at position (0,0
) |
| 37 // relative to the document (and so isn't necessarily in view). | 36 // relative to the document (and so isn't necessarily in view). |
| 38 class RenderView final : public RenderBlockFlow { | 37 class RenderView final : public RenderBlockFlow { |
| 39 public: | 38 public: |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 unsigned m_hitTestCount; | 137 unsigned m_hitTestCount; |
| 139 | 138 |
| 140 WTF::HashSet<RenderIFrame*> m_iframes; | 139 WTF::HashSet<RenderIFrame*> m_iframes; |
| 141 }; | 140 }; |
| 142 | 141 |
| 143 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); | 142 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); |
| 144 | 143 |
| 145 } // namespace blink | 144 } // namespace blink |
| 146 | 145 |
| 147 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ | 146 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ |
| OLD | NEW |