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

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

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: rebase Created 3 years, 5 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
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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 448
449 void UpdateBrowserControlsState(WebBrowserControlsState constraint, 449 void UpdateBrowserControlsState(WebBrowserControlsState constraint,
450 WebBrowserControlsState current, 450 WebBrowserControlsState current,
451 bool animate) override; 451 bool animate) override;
452 452
453 BrowserControls& GetBrowserControls() override; 453 BrowserControls& GetBrowserControls() override;
454 // Called anytime browser controls layout height or content offset have 454 // Called anytime browser controls layout height or content offset have
455 // changed. 455 // changed.
456 void DidUpdateBrowserControls() override; 456 void DidUpdateBrowserControls() override;
457 457
458 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override;
459
458 void ForceNextWebGLContextCreationToFail() override; 460 void ForceNextWebGLContextCreationToFail() override;
459 void ForceNextDrawingBufferCreationToFail() override; 461 void ForceNextDrawingBufferCreationToFail() override;
460 462
461 IntSize MainFrameSize() override; 463 IntSize MainFrameSize() override;
462 WebDisplayMode DisplayMode() const override { return display_mode_; } 464 WebDisplayMode DisplayMode() const override { return display_mode_; }
463 465
464 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; 466 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override;
465 467
466 FloatSize ElasticOverscroll() const override { return elastic_overscroll_; } 468 FloatSize ElasticOverscroll() const override { return elastic_overscroll_; }
467 469
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 721 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
720 }; 722 };
721 723
722 // We have no ways to check if the specified WebView is an instance of 724 // We have no ways to check if the specified WebView is an instance of
723 // WebViewImpl because WebViewImpl is the only implementation of WebView. 725 // WebViewImpl because WebViewImpl is the only implementation of WebView.
724 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 726 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
725 727
726 } // namespace blink 728 } // namespace blink
727 729
728 #endif 730 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698