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

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

Issue 2663823002: Reland of Use full viewport height for layout if URL bar is locked shown or hidden. (Closed)
Patch Set: Created 3 years, 10 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 513
514 void scrollAndRescaleViewports(float scaleFactor, 514 void scrollAndRescaleViewports(float scaleFactor,
515 const IntPoint& mainFrameOrigin, 515 const IntPoint& mainFrameOrigin,
516 const FloatPoint& visualViewportOrigin); 516 const FloatPoint& visualViewportOrigin);
517 517
518 float maximumLegiblePageScale() const; 518 float maximumLegiblePageScale() const;
519 void refreshPageScaleFactorAfterLayout(); 519 void refreshPageScaleFactorAfterLayout();
520 IntSize contentsSize() const; 520 IntSize contentsSize() const;
521 521
522 void performResize(); 522 void performResize();
523 void resizeViewWhileAnchored(FrameView*, 523 void resizeViewWhileAnchored(float browserControlsHeight,
524 float browserControlsHeight,
525 bool browserControlsShrinkLayout); 524 bool browserControlsShrinkLayout);
526 525
527 // Overrides the compositor visibility. See the description of 526 // Overrides the compositor visibility. See the description of
528 // m_overrideCompositorVisibility for more details. 527 // m_overrideCompositorVisibility for more details.
529 void setCompositorVisibility(bool); 528 void setCompositorVisibility(bool);
530 529
531 // TODO(lfg): Remove once WebViewFrameWidget is deleted. 530 // TODO(lfg): Remove once WebViewFrameWidget is deleted.
532 void scheduleAnimationForWidget(); 531 void scheduleAnimationForWidget();
533 bool getCompositionCharacterBounds(WebVector<WebRect>&) override; 532 bool getCompositionCharacterBounds(WebVector<WebRect>&) override;
534 void applyReplacementRange(const WebRange&) override; 533 void applyReplacementRange(const WebRange&) override;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 737 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
739 }; 738 };
740 739
741 // We have no ways to check if the specified WebView is an instance of 740 // We have no ways to check if the specified WebView is an instance of
742 // WebViewImpl because WebViewImpl is the only implementation of WebView. 741 // WebViewImpl because WebViewImpl is the only implementation of WebView.
743 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 742 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
744 743
745 } // namespace blink 744 } // namespace blink
746 745
747 #endif 746 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/BrowserControls.h ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698