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

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

Issue 1749383002: Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 , public RefCounted<WebViewImpl> 97 , public RefCounted<WebViewImpl>
98 , public WebGestureCurveTarget 98 , public WebGestureCurveTarget
99 , public PageWidgetEventHandler { 99 , public PageWidgetEventHandler {
100 public: 100 public:
101 static WebViewImpl* create(WebViewClient*); 101 static WebViewImpl* create(WebViewClient*);
102 static HashSet<WebViewImpl*>& allInstances(); 102 static HashSet<WebViewImpl*>& allInstances();
103 103
104 // WebWidget methods: 104 // WebWidget methods:
105 void close() override; 105 void close() override;
106 WebSize size() override; 106 WebSize size() override;
107 void willStartLiveResize() override;
108 void resize(const WebSize&) override; 107 void resize(const WebSize&) override;
109 void resizeVisualViewport(const WebSize&) override; 108 void resizeVisualViewport(const WebSize&) override;
110 void willEndLiveResize() override;
111 void didEnterFullScreen() override; 109 void didEnterFullScreen() override;
112 void didExitFullScreen() override; 110 void didExitFullScreen() override;
113 111
114 void beginFrame(double lastFrameTimeMonotonic) override; 112 void beginFrame(double lastFrameTimeMonotonic) override;
115 113
116 void updateAllLifecyclePhases() override; 114 void updateAllLifecyclePhases() override;
117 void paint(WebCanvas*, const WebRect&) override; 115 void paint(WebCanvas*, const WebRect&) override;
118 #if OS(ANDROID) 116 #if OS(ANDROID)
119 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; 117 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override;
120 #endif 118 #endif
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 }; 774 };
777 775
778 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 776 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
779 // We have no ways to check if the specified WebView is an instance of 777 // We have no ways to check if the specified WebView is an instance of
780 // WebViewImpl because WebViewImpl is the only implementation of WebView. 778 // WebViewImpl because WebViewImpl is the only implementation of WebView.
781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 779 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
782 780
783 } // namespace blink 781 } // namespace blink
784 782
785 #endif 783 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698