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

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: format 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 459
460 void UpdateBrowserControlsState(WebBrowserControlsState constraint, 460 void UpdateBrowserControlsState(WebBrowserControlsState constraint,
461 WebBrowserControlsState current, 461 WebBrowserControlsState current,
462 bool animate) override; 462 bool animate) override;
463 463
464 BrowserControls& GetBrowserControls() override; 464 BrowserControls& GetBrowserControls() override;
465 // Called anytime browser controls layout height or content offset have 465 // Called anytime browser controls layout height or content offset have
466 // changed. 466 // changed.
467 void DidUpdateBrowserControls() override; 467 void DidUpdateBrowserControls() override;
468 468
469 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override;
470
469 void ForceNextWebGLContextCreationToFail() override; 471 void ForceNextWebGLContextCreationToFail() override;
470 void ForceNextDrawingBufferCreationToFail() override; 472 void ForceNextDrawingBufferCreationToFail() override;
471 473
472 IntSize MainFrameSize() override; 474 IntSize MainFrameSize() override;
473 WebDisplayMode DisplayMode() const override { return display_mode_; } 475 WebDisplayMode DisplayMode() const override { return display_mode_; }
474 476
475 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; 477 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override;
476 478
477 FloatSize ElasticOverscroll() const override { return elastic_overscroll_; } 479 FloatSize ElasticOverscroll() const override { return elastic_overscroll_; }
478 480
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 733 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
732 }; 734 };
733 735
734 // We have no ways to check if the specified WebView is an instance of 736 // We have no ways to check if the specified WebView is an instance of
735 // WebViewImpl because WebViewImpl is the only implementation of WebView. 737 // WebViewImpl because WebViewImpl is the only implementation of WebView.
736 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 738 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
737 739
738 } // namespace blink 740 } // namespace blink
739 741
740 #endif 742 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698