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

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

Issue 796623004: Delete some dead ScrollAlignment code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 static ScrollAlignmentBehavior getPartialBehavior(const ScrollAlignment& s) { return s.m_rectPartial; } 63 static ScrollAlignmentBehavior getPartialBehavior(const ScrollAlignment& s) { return s.m_rectPartial; }
64 static ScrollAlignmentBehavior getHiddenBehavior(const ScrollAlignment& s) { return s.m_rectHidden; } 64 static ScrollAlignmentBehavior getHiddenBehavior(const ScrollAlignment& s) { return s.m_rectHidden; }
65 65
66 // FIXME: This function should probably go somewhere else but where? 66 // FIXME: This function should probably go somewhere else but where?
67 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const Layou tRect& exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) ; 67 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const Layou tRect& exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) ;
68 68
69 static const ScrollAlignment alignCenterIfNeeded; 69 static const ScrollAlignment alignCenterIfNeeded;
70 static const ScrollAlignment alignToEdgeIfNeeded; 70 static const ScrollAlignment alignToEdgeIfNeeded;
71 static const ScrollAlignment alignCenterAlways; 71 static const ScrollAlignment alignCenterAlways;
72 static const ScrollAlignment alignTopAlways; 72 static const ScrollAlignment alignTopAlways;
73 static const ScrollAlignment alignBottomAlways;
74 73
75 ScrollAlignmentBehavior m_rectVisible; 74 ScrollAlignmentBehavior m_rectVisible;
76 ScrollAlignmentBehavior m_rectHidden; 75 ScrollAlignmentBehavior m_rectHidden;
77 ScrollAlignmentBehavior m_rectPartial; 76 ScrollAlignmentBehavior m_rectPartial;
78 }; 77 };
79 78
80 79
81 }; // namespace blink 80 }; // namespace blink
82 81
83 #endif // SKY_ENGINE_CORE_RENDERING_SCROLLALIGNMENT_H_ 82 #endif // SKY_ENGINE_CORE_RENDERING_SCROLLALIGNMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/editing/FrameSelection.cpp ('k') | sky/engine/core/rendering/ScrollAlignment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698