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

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

Issue 2830003002: Remove redundant WebLocalFrame* parameter from DidChangeScrollOffset (Closed)
Patch Set: Rebase Created 3 years, 7 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 world_id); 216 world_id);
217 } 217 }
218 } 218 }
219 219
220 bool LocalFrameClientImpl::AllowScriptExtensions() { 220 bool LocalFrameClientImpl::AllowScriptExtensions() {
221 return true; 221 return true;
222 } 222 }
223 223
224 void LocalFrameClientImpl::DidChangeScrollOffset() { 224 void LocalFrameClientImpl::DidChangeScrollOffset() {
225 if (web_frame_->Client()) 225 if (web_frame_->Client())
226 web_frame_->Client()->DidChangeScrollOffset(web_frame_); 226 web_frame_->Client()->DidChangeScrollOffset();
227 } 227 }
228 228
229 void LocalFrameClientImpl::DidUpdateCurrentHistoryItem() { 229 void LocalFrameClientImpl::DidUpdateCurrentHistoryItem() {
230 if (web_frame_->Client()) 230 if (web_frame_->Client())
231 web_frame_->Client()->DidUpdateCurrentHistoryItem(); 231 web_frame_->Client()->DidUpdateCurrentHistoryItem();
232 } 232 }
233 233
234 bool LocalFrameClientImpl::AllowContentInitiatedDataUrlNavigations( 234 bool LocalFrameClientImpl::AllowContentInitiatedDataUrlNavigations(
235 const KURL& url) { 235 const KURL& url) {
236 if (RuntimeEnabledFeatures::allowContentInitiatedDataUrlNavigationsEnabled()) 236 if (RuntimeEnabledFeatures::allowContentInitiatedDataUrlNavigationsEnabled())
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 void LocalFrameClientImpl::AbortClientNavigation() { 996 void LocalFrameClientImpl::AbortClientNavigation() {
997 if (web_frame_->Client()) 997 if (web_frame_->Client())
998 web_frame_->Client()->AbortClientNavigation(); 998 web_frame_->Client()->AbortClientNavigation();
999 } 999 }
1000 1000
1001 TextCheckerClient& LocalFrameClientImpl::GetTextCheckerClient() const { 1001 TextCheckerClient& LocalFrameClientImpl::GetTextCheckerClient() const {
1002 return web_frame_->GetTextCheckerClient(); 1002 return web_frame_->GetTextCheckerClient();
1003 } 1003 }
1004 1004
1005 } // namespace blink 1005 } // namespace blink
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/web/tests/VisualViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698