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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebViewImpl.h

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

Powered by Google App Engine
This is Rietveld 408576698