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

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

Issue 2150443002: Supplement should have a Member to the corresponding Supplementable object (Part 1) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 3 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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 { 1046 {
1047 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) 1047 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView())
1048 m_webView->registerViewportLayersWithCompositor(); 1048 m_webView->registerViewportLayersWithCompositor();
1049 } 1049 }
1050 1050
1051 void ChromeClientImpl::didUpdateTopControls() const 1051 void ChromeClientImpl::didUpdateTopControls() const
1052 { 1052 {
1053 m_webView->didUpdateTopControls(); 1053 m_webView->didUpdateTopControls();
1054 } 1054 }
1055 1055
1056 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(LocalFrame* frame) 1056 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(LocalFrame* frame, WorkerClients& clients)
1057 { 1057 {
1058 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); 1058 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
1059 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); 1059 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(cli ents);
1060 } 1060 }
1061 1061
1062 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ er) 1062 void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observ er)
1063 { 1063 {
1064 DCHECK(observer); 1064 DCHECK(observer);
1065 m_popupOpeningObservers.append(observer); 1065 m_popupOpeningObservers.append(observer);
1066 } 1066 }
1067 1067
1068 void ChromeClientImpl::unregisterPopupOpeningObserver(PopupOpeningObserver* obse rver) 1068 void ChromeClientImpl::unregisterPopupOpeningObserver(PopupOpeningObserver* obse rver)
1069 { 1069 {
(...skipping 24 matching lines...) Expand all
1094 { 1094 {
1095 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext) .release()); 1095 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext) .release());
1096 } 1096 }
1097 1097
1098 double ChromeClientImpl::lastFrameTimeMonotonic() const 1098 double ChromeClientImpl::lastFrameTimeMonotonic() const
1099 { 1099 {
1100 return m_webView->lastFrameTimeMonotonic(); 1100 return m_webView->lastFrameTimeMonotonic();
1101 } 1101 }
1102 1102
1103 } // namespace blink 1103 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/CompositorProxyClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698