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

Side by Side Diff: Source/core/rendering/RenderView.h

Issue 191003011: Convert RenderLayerCompositor::RenderView code to use reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@ref_3
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderView.cpp » ('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) 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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698