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

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

Issue 147353007: DevTools: remove references to modules/webdatabase from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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, 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 break; 509 break;
510 case SettingsDelegate::ScriptEnableChange: 510 case SettingsDelegate::ScriptEnableChange:
511 m_inspectorController->scriptsEnabled(settings().scriptEnabled()); 511 m_inspectorController->scriptsEnabled(settings().scriptEnabled());
512 break; 512 break;
513 } 513 }
514 } 514 }
515 515
516 void Page::didCommitLoad(Frame* frame) 516 void Page::didCommitLoad(Frame* frame)
517 { 517 {
518 lifecycleNotifier().notifyDidCommitLoad(frame); 518 lifecycleNotifier().notifyDidCommitLoad(frame);
519 if (m_mainFrame == frame) 519 if (m_mainFrame == frame) {
520 useCounter().didCommitLoad(); 520 useCounter().didCommitLoad();
521 m_inspectorController->didCommitLoadForMainFrame();
522 }
521 } 523 }
522 524
523 PageLifecycleNotifier& Page::lifecycleNotifier() 525 PageLifecycleNotifier& Page::lifecycleNotifier()
524 { 526 {
525 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier()); 527 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier());
526 } 528 }
527 529
528 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier() 530 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier()
529 { 531 {
530 return PageLifecycleNotifier::create(this); 532 return PageLifecycleNotifier::create(this);
531 } 533 }
532 534
533 Page::PageClients::PageClients() 535 Page::PageClients::PageClients()
534 : chromeClient(0) 536 : chromeClient(0)
535 , contextMenuClient(0) 537 , contextMenuClient(0)
536 , editorClient(0) 538 , editorClient(0)
537 , dragClient(0) 539 , dragClient(0)
538 , inspectorClient(0) 540 , inspectorClient(0)
539 , backForwardClient(0) 541 , backForwardClient(0)
540 , spellCheckerClient(0) 542 , spellCheckerClient(0)
541 { 543 {
542 } 544 }
543 545
544 Page::PageClients::~PageClients() 546 Page::PageClients::~PageClients()
545 { 547 {
546 } 548 }
547 549
548 } // namespace WebCore 550 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698