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

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

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: rebase 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #include "web/WebViewFrameWidget.h" 5 #include "web/WebViewFrameWidget.h"
6 6
7 #include "web/WebLocalFrameImpl.h" 7 #include "web/WebLocalFrameImpl.h"
8 #include "web/WebViewImpl.h" 8 #include "web/WebViewImpl.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 23 matching lines...) Expand all
34 // easier to untangle the cleanup logic later. 34 // easier to untangle the cleanup logic later.
35 35
36 delete this; 36 delete this;
37 } 37 }
38 38
39 WebSize WebViewFrameWidget::size() 39 WebSize WebViewFrameWidget::size()
40 { 40 {
41 return m_webView->size(); 41 return m_webView->size();
42 } 42 }
43 43
44 void WebViewFrameWidget::willStartLiveResize()
45 {
46 return m_webView->willStartLiveResize();
47 }
48
49 void WebViewFrameWidget::resize(const WebSize& size) 44 void WebViewFrameWidget::resize(const WebSize& size)
50 { 45 {
51 return m_webView->resize(size); 46 return m_webView->resize(size);
52 } 47 }
53 48
54 void WebViewFrameWidget::resizeVisualViewport(const WebSize& size) 49 void WebViewFrameWidget::resizeVisualViewport(const WebSize& size)
55 { 50 {
56 return m_webView->resizeVisualViewport(size); 51 return m_webView->resizeVisualViewport(size);
57 } 52 }
58 53
59 void WebViewFrameWidget::willEndLiveResize()
60 {
61 return m_webView->willEndLiveResize();
62 }
63
64 void WebViewFrameWidget::didEnterFullScreen() 54 void WebViewFrameWidget::didEnterFullScreen()
65 { 55 {
66 return m_webView->didEnterFullScreen(); 56 return m_webView->didEnterFullScreen();
67 } 57 }
68 58
69 void WebViewFrameWidget::didExitFullScreen() 59 void WebViewFrameWidget::didExitFullScreen()
70 { 60 {
71 return m_webView->didExitFullScreen(); 61 return m_webView->didExitFullScreen();
72 } 62 }
73 63
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 { 269 {
280 m_webView->setBaseBackgroundColor(color); 270 m_webView->setBaseBackgroundColor(color);
281 } 271 }
282 272
283 void WebViewFrameWidget::scheduleAnimation() 273 void WebViewFrameWidget::scheduleAnimation()
284 { 274 {
285 m_webView->scheduleAnimation(); 275 m_webView->scheduleAnimation();
286 } 276 }
287 277
288 } // namespace blink 278 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698