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

Side by Side Diff: Source/core/page/Chrome.cpp

Issue 348193002: Remove some dead scrolling paths and unused params (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void Chrome::invalidateContentsAndRootView(const IntRect& updateRect) 66 void Chrome::invalidateContentsAndRootView(const IntRect& updateRect)
67 { 67 {
68 m_client->invalidateContentsAndRootView(updateRect); 68 m_client->invalidateContentsAndRootView(updateRect);
69 } 69 }
70 70
71 void Chrome::invalidateContentsForSlowScroll(const IntRect& updateRect) 71 void Chrome::invalidateContentsForSlowScroll(const IntRect& updateRect)
72 { 72 {
73 m_client->invalidateContentsForSlowScroll(updateRect); 73 m_client->invalidateContentsForSlowScroll(updateRect);
74 } 74 }
75 75
76 void Chrome::scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, con st IntRect& clipRect) 76 void Chrome::scroll(const IntRect& unusedClipRect)
77 { 77 {
78 m_client->scroll(scrollDelta, rectToScroll, clipRect); 78 m_client->scroll();
79 InspectorInstrumentation::didScroll(m_page); 79 InspectorInstrumentation::didScroll(m_page);
80 } 80 }
81 81
82 IntRect Chrome::rootViewToScreen(const IntRect& rect) const 82 IntRect Chrome::rootViewToScreen(const IntRect& rect) const
83 { 83 {
84 return m_client->rootViewToScreen(rect); 84 return m_client->rootViewToScreen(rect);
85 } 85 }
86 86
87 blink::WebScreenInfo Chrome::screenInfo() const 87 blink::WebScreenInfo Chrome::screenInfo() const
88 { 88 {
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 for (size_t i = 0; i < observers.size(); ++i) 407 for (size_t i = 0; i < observers.size(); ++i)
408 observers[i]->willOpenPopup(); 408 observers[i]->willOpenPopup();
409 } 409 }
410 410
411 void Chrome::willBeDestroyed() 411 void Chrome::willBeDestroyed()
412 { 412 {
413 m_client->chromeDestroyed(); 413 m_client->chromeDestroyed();
414 } 414 }
415 415
416 } // namespace WebCore 416 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698