| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. |
| 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 if (mainFrame()->document()) | 233 if (mainFrame()->document()) |
| 234 mainFrame()->document()->mediaQueryAffectingValueChanged(); | 234 mainFrame()->document()->mediaQueryAffectingValueChanged(); |
| 235 setNeedsRecalcStyleInAllFrames(); | 235 setNeedsRecalcStyleInAllFrames(); |
| 236 break; | 236 break; |
| 237 } | 237 } |
| 238 } | 238 } |
| 239 | 239 |
| 240 void Page::didCommitLoad(LocalFrame* frame) | 240 void Page::didCommitLoad(LocalFrame* frame) |
| 241 { | 241 { |
| 242 lifecycleNotifier().notifyDidCommitLoad(frame); | 242 lifecycleNotifier().notifyDidCommitLoad(frame); |
| 243 if (m_mainFrame == frame) { | 243 if (m_mainFrame == frame) |
| 244 frame->console().clearMessages(); | 244 frame->console().clearMessages(); |
| 245 useCounter().didCommitLoad(); | |
| 246 } | |
| 247 } | 245 } |
| 248 | 246 |
| 249 void Page::acceptLanguagesChanged() | 247 void Page::acceptLanguagesChanged() |
| 250 { | 248 { |
| 251 mainFrame()->domWindow()->acceptLanguagesChanged(); | 249 mainFrame()->domWindow()->acceptLanguagesChanged(); |
| 252 } | 250 } |
| 253 | 251 |
| 254 PageLifecycleNotifier& Page::lifecycleNotifier() | 252 PageLifecycleNotifier& Page::lifecycleNotifier() |
| 255 { | 253 { |
| 256 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle
Notifier()); | 254 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle
Notifier()); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 281 , editorClient(0) | 279 , editorClient(0) |
| 282 , spellCheckerClient(0) | 280 , spellCheckerClient(0) |
| 283 { | 281 { |
| 284 } | 282 } |
| 285 | 283 |
| 286 Page::PageClients::~PageClients() | 284 Page::PageClients::~PageClients() |
| 287 { | 285 { |
| 288 } | 286 } |
| 289 | 287 |
| 290 } // namespace blink | 288 } // namespace blink |
| OLD | NEW |