OLD | NEW |
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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 | 451 |
452 void UpdateBrowserControlsState(WebBrowserControlsState constraint, | 452 void UpdateBrowserControlsState(WebBrowserControlsState constraint, |
453 WebBrowserControlsState current, | 453 WebBrowserControlsState current, |
454 bool animate) override; | 454 bool animate) override; |
455 | 455 |
456 BrowserControls& GetBrowserControls(); | 456 BrowserControls& GetBrowserControls(); |
457 // Called anytime browser controls layout height or content offset have | 457 // Called anytime browser controls layout height or content offset have |
458 // changed. | 458 // changed. |
459 void DidUpdateBrowserControls(); | 459 void DidUpdateBrowserControls(); |
460 | 460 |
| 461 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&); |
| 462 |
461 void ForceNextWebGLContextCreationToFail() override; | 463 void ForceNextWebGLContextCreationToFail() override; |
462 void ForceNextDrawingBufferCreationToFail() override; | 464 void ForceNextDrawingBufferCreationToFail() override; |
463 | 465 |
464 IntSize MainFrameSize(); | 466 IntSize MainFrameSize(); |
465 WebDisplayMode DisplayMode() const { return display_mode_; } | 467 WebDisplayMode DisplayMode() const { return display_mode_; } |
466 | 468 |
467 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const; | 469 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const; |
468 | 470 |
469 FloatSize ElasticOverscroll() const { return elastic_overscroll_; } | 471 FloatSize ElasticOverscroll() const { return elastic_overscroll_; } |
470 | 472 |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 static const WebInputEvent* current_input_event_; | 721 static const WebInputEvent* current_input_event_; |
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 |
OLD | NEW |