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

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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 break; 499 break;
500 case SettingsDelegate::ScriptEnableChange: 500 case SettingsDelegate::ScriptEnableChange:
501 m_inspectorController->scriptsEnabled(settings().scriptEnabled()); 501 m_inspectorController->scriptsEnabled(settings().scriptEnabled());
502 break; 502 break;
503 } 503 }
504 } 504 }
505 505
506 void Page::didCommitLoad(Frame* frame) 506 void Page::didCommitLoad(Frame* frame)
507 { 507 {
508 lifecycleNotifier().notifyDidCommitLoad(frame); 508 lifecycleNotifier().notifyDidCommitLoad(frame);
509 if (m_mainFrame == frame) 509 if (m_mainFrame == frame) {
510 useCounter().didCommitLoad(); 510 useCounter().didCommitLoad();
511 m_inspectorController->didCommitLoadForMainFrame();
512 }
511 } 513 }
512 514
513 PageLifecycleNotifier& Page::lifecycleNotifier() 515 PageLifecycleNotifier& Page::lifecycleNotifier()
514 { 516 {
515 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier()); 517 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle Notifier());
516 } 518 }
517 519
518 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier() 520 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier()
519 { 521 {
520 return PageLifecycleNotifier::create(this); 522 return PageLifecycleNotifier::create(this);
521 } 523 }
522 524
523 Page::PageClients::PageClients() 525 Page::PageClients::PageClients()
524 : chromeClient(0) 526 : chromeClient(0)
525 , contextMenuClient(0) 527 , contextMenuClient(0)
526 , editorClient(0) 528 , editorClient(0)
527 , dragClient(0) 529 , dragClient(0)
528 , inspectorClient(0) 530 , inspectorClient(0)
529 , backForwardClient(0) 531 , backForwardClient(0)
530 , spellCheckerClient(0) 532 , spellCheckerClient(0)
531 { 533 {
532 } 534 }
533 535
534 Page::PageClients::~PageClients() 536 Page::PageClients::~PageClients()
535 { 537 {
536 } 538 }
537 539
538 } // namespace WebCore 540 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698