| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
| 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> | 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> |
| 8 * Copyright (C) 2011 Google Inc. All rights reserved. | 8 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * Redistribution and use in source and binary forms, with or without | 10 * Redistribution and use in source and binary forms, with or without |
| (...skipping 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2356 return count; | 2356 return count; |
| 2357 } | 2357 } |
| 2358 | 2358 |
| 2359 String FrameLoader::userAgent(const KURL& url) const | 2359 String FrameLoader::userAgent(const KURL& url) const |
| 2360 { | 2360 { |
| 2361 String userAgent = m_client->userAgent(url); | 2361 String userAgent = m_client->userAgent(url); |
| 2362 InspectorInstrumentation::applyUserAgentOverride(m_frame, &userAgent); | 2362 InspectorInstrumentation::applyUserAgentOverride(m_frame, &userAgent); |
| 2363 return userAgent; | 2363 return userAgent; |
| 2364 } | 2364 } |
| 2365 | 2365 |
| 2366 void FrameLoader::willHandleOnloadEvents() |
| 2367 { |
| 2368 m_client->dispatchWillHandleOnloadEvents(); |
| 2369 } |
| 2370 |
| 2366 void FrameLoader::handledOnloadEvents() | 2371 void FrameLoader::handledOnloadEvents() |
| 2367 { | 2372 { |
| 2368 m_client->dispatchDidHandleOnloadEvents(); | 2373 m_client->dispatchDidHandleOnloadEvents(); |
| 2369 | 2374 |
| 2370 if (documentLoader()) | 2375 if (documentLoader()) |
| 2371 documentLoader()->handledOnloadEvents(); | 2376 documentLoader()->handledOnloadEvents(); |
| 2372 } | 2377 } |
| 2373 | 2378 |
| 2374 void FrameLoader::frameDetached() | 2379 void FrameLoader::frameDetached() |
| 2375 { | 2380 { |
| (...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3415 FloatRect newWindowRect = DOMWindow::adjustWindowRect(page, windowRect); | 3420 FloatRect newWindowRect = DOMWindow::adjustWindowRect(page, windowRect); |
| 3416 | 3421 |
| 3417 page->chrome()->setWindowRect(newWindowRect); | 3422 page->chrome()->setWindowRect(newWindowRect); |
| 3418 page->chrome()->show(); | 3423 page->chrome()->show(); |
| 3419 | 3424 |
| 3420 created = true; | 3425 created = true; |
| 3421 return frame; | 3426 return frame; |
| 3422 } | 3427 } |
| 3423 | 3428 |
| 3424 } // namespace WebCore | 3429 } // namespace WebCore |
| OLD | NEW |