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

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

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
« no previous file with comments | « sky/engine/core/rendering/RenderView.h ('k') | sky/engine/core/testing/NullExecutionContext.h » ('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) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 setPreferredLogicalWidthsDirty(MarkOnlyThis); 60 setPreferredLogicalWidthsDirty(MarkOnlyThis);
61 61
62 setPositionState(AbsolutePosition); // to 0,0 :) 62 setPositionState(AbsolutePosition); // to 0,0 :)
63 } 63 }
64 64
65 RenderView::~RenderView() 65 RenderView::~RenderView()
66 { 66 {
67 } 67 }
68 68
69 void RenderView::trace(Visitor* visitor)
70 {
71 visitor->trace(m_selectionStart);
72 visitor->trace(m_selectionEnd);
73 RenderBlockFlow::trace(visitor);
74 }
75
76 bool RenderView::hitTest(const HitTestRequest& request, HitTestResult& result) 69 bool RenderView::hitTest(const HitTestRequest& request, HitTestResult& result)
77 { 70 {
78 return hitTest(request, result.hitTestLocation(), result); 71 return hitTest(request, result.hitTestLocation(), result);
79 } 72 }
80 73
81 bool RenderView::hitTest(const HitTestRequest& request, const HitTestLocation& l ocation, HitTestResult& result) 74 bool RenderView::hitTest(const HitTestRequest& request, const HitTestLocation& l ocation, HitTestResult& result)
82 { 75 {
83 TRACE_EVENT0("blink", "RenderView::hitTest"); 76 TRACE_EVENT0("blink", "RenderView::hitTest");
84 m_hitTestCount++; 77 m_hitTestCount++;
85 78
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 return viewWidth(IncludeScrollbars); 748 return viewWidth(IncludeScrollbars);
756 } 749 }
757 750
758 // FIXME(sky): remove 751 // FIXME(sky): remove
759 double RenderView::layoutViewportHeight() const 752 double RenderView::layoutViewportHeight() const
760 { 753 {
761 return viewHeight(IncludeScrollbars); 754 return viewHeight(IncludeScrollbars);
762 } 755 }
763 756
764 } // namespace blink 757 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderView.h ('k') | sky/engine/core/testing/NullExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698