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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 1148263006: Remove setMainFrameScrollOffset method from WebViewImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « no previous file | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 void setShowDebugBorders(bool); 267 void setShowDebugBorders(bool);
268 virtual void setShowFPSCounter(bool) override; 268 virtual void setShowFPSCounter(bool) override;
269 virtual void setContinuousPaintingEnabled(bool) override; 269 virtual void setContinuousPaintingEnabled(bool) override;
270 virtual void setShowScrollBottleneckRects(bool) override; 270 virtual void setShowScrollBottleneckRects(bool) override;
271 virtual void acceptLanguagesChanged() override; 271 virtual void acceptLanguagesChanged() override;
272 272
273 // WebViewImpl 273 // WebViewImpl
274 void enableViewport(); 274 void enableViewport();
275 void disableViewport(); 275 void disableViewport();
276 276
277 void setMainFrameScrollOffset(const WebPoint&);
278
279 float defaultMinimumPageScaleFactor() const; 277 float defaultMinimumPageScaleFactor() const;
280 float defaultMaximumPageScaleFactor() const; 278 float defaultMaximumPageScaleFactor() const;
281 float minimumPageScaleFactor() const; 279 float minimumPageScaleFactor() const;
282 float maximumPageScaleFactor() const; 280 float maximumPageScaleFactor() const;
283 float clampPageScaleFactorToLimits(float) const; 281 float clampPageScaleFactorToLimits(float) const;
284 282
285 HitTestResult coreHitTestResultAt(const WebPoint&); 283 HitTestResult coreHitTestResultAt(const WebPoint&);
286 void suppressInvalidations(bool enable); 284 void suppressInvalidations(bool enable);
287 void invalidateRect(const IntRect&); 285 void invalidateRect(const IntRect&);
288 286
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 }; 762 };
765 763
766 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 764 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
767 // We have no ways to check if the specified WebView is an instance of 765 // We have no ways to check if the specified WebView is an instance of
768 // WebViewImpl because WebViewImpl is the only implementation of WebView. 766 // WebViewImpl because WebViewImpl is the only implementation of WebView.
769 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 767 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
770 768
771 } // namespace blink 769 } // namespace blink
772 770
773 #endif 771 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698