Chromium Code Reviews| 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, |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 | 33 |
| 34 class FlowThreadController; | 34 class FlowThreadController; |
| 35 class RenderLayerCompositor; | 35 class RenderLayerCompositor; |
| 36 class RenderQuote; | 36 class RenderQuote; |
| 37 | 37 |
| 38 // The root of the render tree, corresponding to the CSS initial containing bloc k. | 38 // The root of the render tree, corresponding to the CSS initial containing bloc k. |
| 39 // It's dimensions match that of the logical viewport (which may be different fr om | 39 // It's dimensions match that of the logical viewport (which may be different fr om |
| 40 // the visible viewport in fixed-layout mode), and it is always at position (0,0 ) | 40 // the visible viewport in fixed-layout mode), and it is always at position (0,0 ) |
| 41 // relative to the document (and so isn't necessarily in view). | 41 // relative to the document (and so isn't necessarily in view). |
| 42 class RenderView FINAL : public RenderBlockFlow { | 42 class RenderView FINAL : public RenderBlockFlow { |
| 43 WTF_MAKE_NONCOPYABLE(RenderView); | |
|
Inactive
2014/03/10 19:03:13
Are you sure this is needed? I believe this inheri
| |
| 43 public: | 44 public: |
| 44 explicit RenderView(Document*); | 45 explicit RenderView(Document*); |
| 45 virtual ~RenderView(); | 46 virtual ~RenderView(); |
| 46 | 47 |
| 47 bool hitTest(const HitTestRequest&, HitTestResult&); | 48 bool hitTest(const HitTestRequest&, HitTestResult&); |
| 48 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); | 49 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); |
| 49 | 50 |
| 50 virtual const char* renderName() const OVERRIDE { return "RenderView"; } | 51 virtual const char* renderName() const OVERRIDE { return "RenderView"; } |
| 51 | 52 |
| 52 virtual bool isRenderView() const OVERRIDE { return true; } | 53 virtual bool isRenderView() const OVERRIDE { return true; } |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 352 { | 353 { |
| 353 m_view.enableLayoutState(); | 354 m_view.enableLayoutState(); |
| 354 } | 355 } |
| 355 private: | 356 private: |
| 356 RenderView& m_view; | 357 RenderView& m_view; |
| 357 }; | 358 }; |
| 358 | 359 |
| 359 } // namespace WebCore | 360 } // namespace WebCore |
| 360 | 361 |
| 361 #endif // RenderView_h | 362 #endif // RenderView_h |
| OLD | NEW |