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

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

Issue 2021513002: Move willEnterFullscreen to WebRemoteFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment about user gestures Created 4 years, 6 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 WebPageImportanceSignals* pageImportanceSignals() override; 273 WebPageImportanceSignals* pageImportanceSignals() override;
274 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) override; 274 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) override;
275 bool endActiveFlingAnimation() override; 275 bool endActiveFlingAnimation() override;
276 bool isFlinging() const override { return !!m_gestureAnimation.get(); } 276 bool isFlinging() const override { return !!m_gestureAnimation.get(); }
277 void setShowPaintRects(bool) override; 277 void setShowPaintRects(bool) override;
278 void setShowDebugBorders(bool); 278 void setShowDebugBorders(bool);
279 void setShowFPSCounter(bool) override; 279 void setShowFPSCounter(bool) override;
280 void setShowScrollBottleneckRects(bool) override; 280 void setShowScrollBottleneckRects(bool) override;
281 void acceptLanguagesChanged() override; 281 void acceptLanguagesChanged() override;
282 282
283 void willEnterFullScreen(WebRemoteFrame*) override;
284 void didUpdateFullScreenSize(); 283 void didUpdateFullScreenSize();
285 284
286 float defaultMinimumPageScaleFactor() const; 285 float defaultMinimumPageScaleFactor() const;
287 float defaultMaximumPageScaleFactor() const; 286 float defaultMaximumPageScaleFactor() const;
288 float minimumPageScaleFactor() const; 287 float minimumPageScaleFactor() const;
289 float maximumPageScaleFactor() const; 288 float maximumPageScaleFactor() const;
290 float clampPageScaleFactorToLimits(float) const; 289 float clampPageScaleFactorToLimits(float) const;
291 void resetScaleStateImmediately(); 290 void resetScaleStateImmediately();
292 291
293 HitTestResult coreHitTestResultAt(const WebPoint&); 292 HitTestResult coreHitTestResultAt(const WebPoint&);
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 double m_lastFrameTimeMonotonic; 760 double m_lastFrameTimeMonotonic;
762 }; 761 };
763 762
764 // We have no ways to check if the specified WebView is an instance of 763 // We have no ways to check if the specified WebView is an instance of
765 // WebViewImpl because WebViewImpl is the only implementation of WebView. 764 // WebViewImpl because WebViewImpl is the only implementation of WebView.
766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 765 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
767 766
768 } // namespace blink 767 } // namespace blink
769 768
770 #endif 769 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698