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

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

Issue 736723002: Expose defersLoading API (for tests) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « no previous file | Source/web/WebViewImpl.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) 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 virtual void removePageOverlay(WebPageOverlay*) override; 265 virtual void removePageOverlay(WebPageOverlay*) override;
266 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) override; 266 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) override;
267 virtual bool endActiveFlingAnimation() override; 267 virtual bool endActiveFlingAnimation() override;
268 virtual void setShowPaintRects(bool) override; 268 virtual void setShowPaintRects(bool) override;
269 void setShowDebugBorders(bool); 269 void setShowDebugBorders(bool);
270 virtual void setShowFPSCounter(bool) override; 270 virtual void setShowFPSCounter(bool) override;
271 virtual void setContinuousPaintingEnabled(bool) override; 271 virtual void setContinuousPaintingEnabled(bool) override;
272 virtual void setShowScrollBottleneckRects(bool) override; 272 virtual void setShowScrollBottleneckRects(bool) override;
273 virtual void getSelectionRootBounds(WebRect& bounds) const override; 273 virtual void getSelectionRootBounds(WebRect& bounds) const override;
274 virtual void acceptLanguagesChanged() override; 274 virtual void acceptLanguagesChanged() override;
275 virtual bool defersLoading() const override;
276 virtual void setDefersLoading(bool value) override;
275 277
276 // WebViewImpl 278 // WebViewImpl
277 279
278 HitTestResult coreHitTestResultAt(const WebPoint&); 280 HitTestResult coreHitTestResultAt(const WebPoint&);
279 void suppressInvalidations(bool enable); 281 void suppressInvalidations(bool enable);
280 void invalidateRect(const IntRect&); 282 void invalidateRect(const IntRect&);
281 283
282 void setIgnoreInputEvents(bool newValue); 284 void setIgnoreInputEvents(bool newValue);
283 void setBackgroundColorOverride(WebColor); 285 void setBackgroundColorOverride(WebColor);
284 void setZoomFactorOverride(float); 286 void setZoomFactorOverride(float);
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 float m_topControlsLayoutHeight; 757 float m_topControlsLayoutHeight;
756 }; 758 };
757 759
758 // We have no ways to check if the specified WebView is an instance of 760 // We have no ways to check if the specified WebView is an instance of
759 // WebViewImpl because WebViewImpl is the only implementation of WebView. 761 // WebViewImpl because WebViewImpl is the only implementation of WebView.
760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
761 763
762 } // namespace blink 764 } // namespace blink
763 765
764 #endif 766 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698