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

Side by Side Diff: sky/engine/web/ScrollbarGroup.h

Issue 681023002: Remove a bunch of frame-level scrolling machinery. (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/web/ChromeClientImpl.cpp ('k') | sky/engine/web/ScrollbarGroup.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual Scrollbar* horizontalScrollbar() const override; 55 virtual Scrollbar* horizontalScrollbar() const override;
56 virtual Scrollbar* verticalScrollbar() const override; 56 virtual Scrollbar* verticalScrollbar() const override;
57 virtual IntPoint scrollPosition() const override; 57 virtual IntPoint scrollPosition() const override;
58 virtual IntPoint minimumScrollPosition() const override; 58 virtual IntPoint minimumScrollPosition() const override;
59 virtual IntPoint maximumScrollPosition() const override; 59 virtual IntPoint maximumScrollPosition() const override;
60 virtual int visibleHeight() const override; 60 virtual int visibleHeight() const override;
61 virtual int visibleWidth() const override; 61 virtual int visibleWidth() const override;
62 virtual IntSize contentsSize() const override; 62 virtual IntSize contentsSize() const override;
63 virtual IntSize overhangAmount() const override; 63 virtual IntSize overhangAmount() const override;
64 virtual IntPoint lastKnownMousePosition() const override; 64 virtual IntPoint lastKnownMousePosition() const override;
65 virtual bool scrollbarsCanBeActive() const override;
66 virtual IntRect scrollableAreaBoundingBox() const override; 65 virtual IntRect scrollableAreaBoundingBox() const override;
67 virtual bool userInputScrollable(ScrollbarOrientation) const override; 66 virtual bool userInputScrollable(ScrollbarOrientation) const override;
68 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override; 67 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override;
69 virtual int pageStep(ScrollbarOrientation) const override; 68 virtual int pageStep(ScrollbarOrientation) const override;
70 69
71 private: 70 private:
72 IntPoint m_lastMousePosition; 71 IntPoint m_lastMousePosition;
73 IntRect m_frameRect; 72 IntRect m_frameRect;
74 }; 73 };
75 74
76 } // namespace blink 75 } // namespace blink
77 76
78 #endif 77 #endif
OLDNEW
« no previous file with comments | « sky/engine/web/ChromeClientImpl.cpp ('k') | sky/engine/web/ScrollbarGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698