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

Side by Side Diff: sky/engine/core/rendering/RenderView.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 23 matching lines...) Expand all
34 class RenderLayerCompositor; 34 class RenderLayerCompositor;
35 35
36 // The root of the render tree, corresponding to the CSS initial containing bloc k. 36 // The root of the render tree, corresponding to the CSS initial containing bloc k.
37 // It's dimensions match that of the logical viewport (which may be different fr om 37 // It's dimensions match that of the logical viewport (which may be different fr om
38 // the visible viewport in fixed-layout mode), and it is always at position (0,0 ) 38 // the visible viewport in fixed-layout mode), and it is always at position (0,0 )
39 // relative to the document (and so isn't necessarily in view). 39 // relative to the document (and so isn't necessarily in view).
40 class RenderView final : public RenderBlockFlow { 40 class RenderView final : public RenderBlockFlow {
41 public: 41 public:
42 explicit RenderView(Document*); 42 explicit RenderView(Document*);
43 virtual ~RenderView(); 43 virtual ~RenderView();
44 virtual void trace(Visitor*) override;
45 44
46 bool hitTest(const HitTestRequest&, HitTestResult&); 45 bool hitTest(const HitTestRequest&, HitTestResult&);
47 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); 46 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&);
48 47
49 // Returns the total count of calls to HitTest, for testing. 48 // Returns the total count of calls to HitTest, for testing.
50 unsigned hitTestCount() const { return m_hitTestCount; } 49 unsigned hitTestCount() const { return m_hitTestCount; }
51 50
52 virtual const char* renderName() const override { return "RenderView"; } 51 virtual const char* renderName() const override { return "RenderView"; }
53 52
54 virtual bool isRenderView() const override { return true; } 53 virtual bool isRenderView() const override { return true; }
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 187 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
189 } 188 }
190 private: 189 private:
191 const PaintInvalidationState* m_paintInvalidationState; 190 const PaintInvalidationState* m_paintInvalidationState;
192 bool m_didDisable; 191 bool m_didDisable;
193 }; 192 };
194 193
195 } // namespace blink 194 } // namespace blink
196 195
197 #endif // RenderView_h 196 #endif // RenderView_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderSelectionInfo.h ('k') | sky/engine/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698