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

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

Issue 1111173002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Incorporating Review Comments Created 5 years, 7 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
« no previous file with comments | « Source/core/page/EventSource.cpp ('k') | Source/core/page/PagePopupController.cpp » ('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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 { 390 {
391 return m_timerAlignmentInterval; 391 return m_timerAlignmentInterval;
392 } 392 }
393 393
394 void Page::setVisibilityState(PageVisibilityState visibilityState, bool isInitia lState) 394 void Page::setVisibilityState(PageVisibilityState visibilityState, bool isInitia lState)
395 { 395 {
396 if (m_visibilityState == visibilityState) 396 if (m_visibilityState == visibilityState)
397 return; 397 return;
398 m_visibilityState = visibilityState; 398 m_visibilityState = visibilityState;
399 399
400 if (visibilityState == blink::PageVisibilityStateVisible) 400 if (visibilityState == PageVisibilityStateVisible)
401 setTimerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval()); 401 setTimerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval());
402 else 402 else
403 setTimerAlignmentInterval(DOMTimer::hiddenPageAlignmentInterval()); 403 setTimerAlignmentInterval(DOMTimer::hiddenPageAlignmentInterval());
404 404
405 if (!isInitialState) 405 if (!isInitialState)
406 notifyPageVisibilityChanged(); 406 notifyPageVisibilityChanged();
407 407
408 if (!isInitialState && m_mainFrame && m_mainFrame->isLocalFrame()) 408 if (!isInitialState && m_mainFrame && m_mainFrame->isLocalFrame())
409 deprecatedLocalMainFrame()->didChangeVisibilityState(); 409 deprecatedLocalMainFrame()->didChangeVisibilityState();
410 } 410 }
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 { 595 {
596 } 596 }
597 597
598 Page::PageClients::~PageClients() 598 Page::PageClients::~PageClients()
599 { 599 {
600 } 600 }
601 601
602 template class WillBeHeapSupplement<Page>; 602 template class WillBeHeapSupplement<Page>;
603 603
604 } // namespace blink 604 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/EventSource.cpp ('k') | Source/core/page/PagePopupController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698