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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 1810853002: Blink Platform: Erase GraphicsLayerFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(obj->getDocument( )->axObjectCacheOwner().frame()); 766 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(obj->getDocument( )->axObjectCacheOwner().frame());
767 if (webframe && webframe->client()) 767 if (webframe && webframe->client())
768 webframe->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEven t(notification)); 768 webframe->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEven t(notification));
769 } 769 }
770 770
771 String ChromeClientImpl::acceptLanguages() 771 String ChromeClientImpl::acceptLanguages()
772 { 772 {
773 return m_webView->client()->acceptLanguages(); 773 return m_webView->client()->acceptLanguages();
774 } 774 }
775 775
776 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const
777 {
778 return m_webView->graphicsLayerFactory();
779 }
780
781 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer, LocalFr ame* localRoot) 776 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer, LocalFr ame* localRoot)
782 { 777 {
783 // FIXME: For top-level frames we still use the WebView as a WebWidget. This 778 // FIXME: For top-level frames we still use the WebView as a WebWidget. This
784 // special case will be removed when top-level frames get WebFrameWidgets. 779 // special case will be removed when top-level frames get WebFrameWidgets.
785 if (localRoot->isMainFrame()) { 780 if (localRoot->isMainFrame()) {
786 m_webView->setRootGraphicsLayer(rootLayer); 781 m_webView->setRootGraphicsLayer(rootLayer);
787 } else { 782 } else {
788 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(localRoot); 783 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(localRoot);
789 // FIXME: The following conditional is only needed for staging until the 784 // FIXME: The following conditional is only needed for staging until the
790 // Chromium patch lands that instantiates a WebFrameWidget. 785 // Chromium patch lands that instantiates a WebFrameWidget.
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 if (m_webView->pageImportanceSignals()) 1078 if (m_webView->pageImportanceSignals())
1084 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); 1079 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript();
1085 } 1080 }
1086 1081
1087 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler() 1082 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler()
1088 { 1083 {
1089 return m_webView->scheduler()->createFrameScheduler().release(); 1084 return m_webView->scheduler()->createFrameScheduler().release();
1090 } 1085 }
1091 1086
1092 } // namespace blink 1087 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/GraphicsLayerFactoryChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698