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

Side by Side Diff: sky/engine/public/web/WebFrame.h

Issue 680703002: Remove more 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/platform/scroll/ScrollableArea.h ('k') | sky/engine/web/WebLocalFrameImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual WebLocalFrame* toWebLocalFrame() = 0; 97 virtual WebLocalFrame* toWebLocalFrame() = 0;
98 98
99 // This method closes and deletes the WebFrame. 99 // This method closes and deletes the WebFrame.
100 virtual void close() = 0; 100 virtual void close() = 0;
101 101
102 // Geometry ----------------------------------------------------------- 102 // Geometry -----------------------------------------------------------
103 103
104 // NOTE: These routines do not force page layout so their results may 104 // NOTE: These routines do not force page layout so their results may
105 // not be accurate if the page layout is out-of-date. 105 // not be accurate if the page layout is out-of-date.
106 106
107 // If set to false, do not draw scrollbars on this frame's view.
108 virtual void setCanHaveScrollbars(bool) = 0;
109
110 // The scroll offset from the top-left corner of the frame in pixels. 107 // The scroll offset from the top-left corner of the frame in pixels.
111 virtual WebSize scrollOffset() const = 0; 108 virtual WebSize scrollOffset() const = 0;
112 109
113 // The minimum and maxium scroll positions in pixels. 110 // The minimum and maxium scroll positions in pixels.
114 virtual WebSize minimumScrollOffset() const = 0; 111 virtual WebSize minimumScrollOffset() const = 0;
115 virtual WebSize maximumScrollOffset() const = 0; 112 virtual WebSize maximumScrollOffset() const = 0;
116 113
117 // The size of the contents area. 114 // The size of the contents area.
118 virtual WebSize contentsSize() const = 0; 115 virtual WebSize contentsSize() const = 0;
119 116
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 private: 327 private:
331 }; 328 };
332 329
333 #if BLINK_IMPLEMENTATION 330 #if BLINK_IMPLEMENTATION
334 Frame* toCoreFrame(const WebFrame*); 331 Frame* toCoreFrame(const WebFrame*);
335 #endif 332 #endif
336 333
337 } // namespace blink 334 } // namespace blink
338 335
339 #endif 336 #endif
OLDNEW
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.h ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698