OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |