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

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: Android build fix 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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 m_scrollingCoordinator->willBeDestroyed(); 526 m_scrollingCoordinator->willBeDestroyed();
527 527
528 chromeClient().chromeDestroyed(); 528 chromeClient().chromeDestroyed();
529 if (m_validationMessageClient) 529 if (m_validationMessageClient)
530 m_validationMessageClient->willBeDestroyed(); 530 m_validationMessageClient->willBeDestroyed();
531 m_mainFrame = nullptr; 531 m_mainFrame = nullptr;
532 532
533 PageVisibilityNotifier::notifyContextDestroyed(); 533 PageVisibilityNotifier::notifyContextDestroyed();
534 } 534 }
535 535
536 void Page::compressStrings(Timer<Page>* timer) 536 void Page::compressStrings(TimerBase* timer)
537 { 537 {
538 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings); 538 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings);
539 if (m_visibilityState == PageVisibilityStateHidden) 539 if (m_visibilityState == PageVisibilityStateHidden)
540 CompressibleStringImpl::compressAll(); 540 CompressibleStringImpl::compressAll();
541 } 541 }
542 542
543 Page::PageClients::PageClients() 543 Page::PageClients::PageClients()
544 : chromeClient(nullptr) 544 : chromeClient(nullptr)
545 , contextMenuClient(nullptr) 545 , contextMenuClient(nullptr)
546 , editorClient(nullptr) 546 , editorClient(nullptr)
547 , spellCheckerClient(nullptr) 547 , spellCheckerClient(nullptr)
548 { 548 {
549 } 549 }
550 550
551 Page::PageClients::~PageClients() 551 Page::PageClients::~PageClients()
552 { 552 {
553 } 553 }
554 554
555 template class CORE_TEMPLATE_EXPORT Supplement<Page>; 555 template class CORE_TEMPLATE_EXPORT Supplement<Page>;
556 556
557 } // namespace blink 557 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698