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

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

Issue 261633002: Add RenderView / Widget setDeviceColorProfile interface to Page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge to tip. Created 6 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 | 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 } 513 }
514 514
515 void Page::updateAcceleratedCompositingSettings() 515 void Page::updateAcceleratedCompositingSettings()
516 { 516 {
517 for (LocalFrame* frame = mainFrame(); frame; frame = frame->tree().traverseN ext()) { 517 for (LocalFrame* frame = mainFrame(); frame; frame = frame->tree().traverseN ext()) {
518 if (FrameView* view = frame->view()) 518 if (FrameView* view = frame->view())
519 view->updateAcceleratedCompositingSettings(); 519 view->updateAcceleratedCompositingSettings();
520 } 520 }
521 } 521 }
522 522
523 void Page::deviceColorProfileChanged(const char* profile, size_t size)
524 {
525 // FIXME: implement.
526 }
527
523 void Page::didCommitLoad(LocalFrame* frame) 528 void Page::didCommitLoad(LocalFrame* frame)
524 { 529 {
525 lifecycleNotifier().notifyDidCommitLoad(frame); 530 lifecycleNotifier().notifyDidCommitLoad(frame);
526 if (m_mainFrame == frame) { 531 if (m_mainFrame == frame) {
527 useCounter().didCommitLoad(); 532 useCounter().didCommitLoad();
528 m_inspectorController->didCommitLoadForMainFrame(); 533 m_inspectorController->didCommitLoadForMainFrame();
529 } 534 }
530 } 535 }
531 536
532 PageLifecycleNotifier& Page::lifecycleNotifier() 537 PageLifecycleNotifier& Page::lifecycleNotifier()
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 , spellCheckerClient(0) 589 , spellCheckerClient(0)
585 , storageClient(0) 590 , storageClient(0)
586 { 591 {
587 } 592 }
588 593
589 Page::PageClients::~PageClients() 594 Page::PageClients::~PageClients()
590 { 595 {
591 } 596 }
592 597
593 } // namespace WebCore 598 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/web/WebViewImpl.h » ('j') | public/web/WebView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698