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

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

Issue 783393006: Remove relayout due to scrollbars taking up width (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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) 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // The size of the contents area. 104 // The size of the contents area.
105 virtual WebSize contentsSize() const = 0; 105 virtual WebSize contentsSize() const = 0;
106 106
107 // Returns true if the contents (minus scrollbars) has non-zero area. 107 // Returns true if the contents (minus scrollbars) has non-zero area.
108 virtual bool hasVisibleContent() const = 0; 108 virtual bool hasVisibleContent() const = 0;
109 109
110 // Returns the visible content rect (minus scrollbars, in absolute coordinat e) 110 // Returns the visible content rect (minus scrollbars, in absolute coordinat e)
111 virtual WebRect visibleContentRect() const = 0; 111 virtual WebRect visibleContentRect() const = 0;
112 112
113 virtual bool hasHorizontalScrollbar() const = 0;
114 virtual bool hasVerticalScrollbar() const = 0;
115
116 // Hierarchy ---------------------------------------------------------- 113 // Hierarchy ----------------------------------------------------------
117 114
118 // Returns the containing view. 115 // Returns the containing view.
119 virtual WebView* view() const = 0; 116 virtual WebView* view() const = 0;
120 117
121 // Content ------------------------------------------------------------ 118 // Content ------------------------------------------------------------
122 119
123 virtual WebDocument document() const = 0; 120 virtual WebDocument document() const = 0;
124 121
125 122
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 private: 269 private:
273 }; 270 };
274 271
275 #if BLINK_IMPLEMENTATION 272 #if BLINK_IMPLEMENTATION
276 Frame* toCoreFrame(const WebFrame*); 273 Frame* toCoreFrame(const WebFrame*);
277 #endif 274 #endif
278 275
279 } // namespace blink 276 } // namespace blink
280 277
281 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_ 278 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698