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

Side by Side Diff: third_party/WebKit/public/web/WebFrame.h

Issue 2939163003: Removing unused HasHorizontal/VerticalScrollbar methods from WebFrame. (Closed)
Patch Set: Just removing the methods altogether also seems to works... Created 3 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // The size of the contents area. 147 // The size of the contents area.
148 virtual WebSize ContentsSize() const = 0; 148 virtual WebSize ContentsSize() const = 0;
149 149
150 // Returns true if the contents (minus scrollbars) has non-zero area. 150 // Returns true if the contents (minus scrollbars) has non-zero area.
151 virtual bool HasVisibleContent() const = 0; 151 virtual bool HasVisibleContent() const = 0;
152 152
153 // Returns the visible content rect (minus scrollbars, in absolute coordinate) 153 // Returns the visible content rect (minus scrollbars, in absolute coordinate)
154 virtual WebRect VisibleContentRect() const = 0; 154 virtual WebRect VisibleContentRect() const = 0;
155 155
156 virtual bool HasHorizontalScrollbar() const = 0;
157 virtual bool HasVerticalScrollbar() const = 0;
158
159 // Whether to collapse the frame's owner element in the embedder document, 156 // Whether to collapse the frame's owner element in the embedder document,
160 // that is, to remove it from the layout as if it did not exist. Only works 157 // that is, to remove it from the layout as if it did not exist. Only works
161 // for <iframe> owner elements. 158 // for <iframe> owner elements.
162 void Collapse(bool); 159 void Collapse(bool);
163 160
164 // Hierarchy ---------------------------------------------------------- 161 // Hierarchy ----------------------------------------------------------
165 162
166 // Returns the containing view. 163 // Returns the containing view.
167 virtual WebView* View() const = 0; 164 virtual WebView* View() const = 0;
168 165
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 WebFrame* first_child_; 309 WebFrame* first_child_;
313 WebFrame* last_child_; 310 WebFrame* last_child_;
314 311
315 WebFrame* opener_; 312 WebFrame* opener_;
316 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; 313 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_;
317 }; 314 };
318 315
319 } // namespace blink 316 } // namespace blink
320 317
321 #endif 318 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698