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

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

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More build fixes Created 4 years, 4 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
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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 m_scrollingCoordinator->willBeDestroyed(); 529 m_scrollingCoordinator->willBeDestroyed();
530 530
531 chromeClient().chromeDestroyed(); 531 chromeClient().chromeDestroyed();
532 if (m_validationMessageClient) 532 if (m_validationMessageClient)
533 m_validationMessageClient->willBeDestroyed(); 533 m_validationMessageClient->willBeDestroyed();
534 m_mainFrame = nullptr; 534 m_mainFrame = nullptr;
535 535
536 PageVisibilityNotifier::notifyContextDestroyed(); 536 PageVisibilityNotifier::notifyContextDestroyed();
537 } 537 }
538 538
539 void Page::compressStrings(Timer<Page>* timer) 539 void Page::compressStrings(TimerBase* timer)
540 { 540 {
541 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings); 541 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings);
542 if (m_visibilityState == PageVisibilityStateHidden) 542 if (m_visibilityState == PageVisibilityStateHidden)
543 CompressibleStringImpl::compressAll(); 543 CompressibleStringImpl::compressAll();
544 } 544 }
545 545
546 Page::PageClients::PageClients() 546 Page::PageClients::PageClients()
547 : chromeClient(nullptr) 547 : chromeClient(nullptr)
548 , contextMenuClient(nullptr) 548 , contextMenuClient(nullptr)
549 , editorClient(nullptr) 549 , editorClient(nullptr)
550 , spellCheckerClient(nullptr) 550 , spellCheckerClient(nullptr)
551 { 551 {
552 } 552 }
553 553
554 Page::PageClients::~PageClients() 554 Page::PageClients::~PageClients()
555 { 555 {
556 } 556 }
557 557
558 template class CORE_TEMPLATE_EXPORT Supplement<Page>; 558 template class CORE_TEMPLATE_EXPORT Supplement<Page>;
559 559
560 } // namespace blink 560 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698