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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 1 month 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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); 1082 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame);
1083 if (webframe->autofillClient()) 1083 if (webframe->autofillClient())
1084 webframe->autofillClient()->ajaxSucceeded(); 1084 webframe->autofillClient()->ajaxSucceeded();
1085 } 1085 }
1086 1086
1087 void ChromeClientImpl::registerViewportLayers() const { 1087 void ChromeClientImpl::registerViewportLayers() const {
1088 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) 1088 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView())
1089 m_webView->registerViewportLayersWithCompositor(); 1089 m_webView->registerViewportLayersWithCompositor();
1090 } 1090 }
1091 1091
1092 void ChromeClientImpl::didUpdateTopControls() const { 1092 void ChromeClientImpl::didUpdateBrowserControls() const {
1093 m_webView->didUpdateTopControls(); 1093 m_webView->didUpdateBrowserControls();
1094 } 1094 }
1095 1095
1096 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient( 1096 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(
1097 LocalFrame* frame) { 1097 LocalFrame* frame) {
1098 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); 1098 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
1099 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); 1099 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient();
1100 } 1100 }
1101 1101
1102 void ChromeClientImpl::registerPopupOpeningObserver( 1102 void ChromeClientImpl::registerPopupOpeningObserver(
1103 PopupOpeningObserver* observer) { 1103 PopupOpeningObserver* observer) {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 if (RuntimeEnabledFeatures::presentationEnabled()) 1161 if (RuntimeEnabledFeatures::presentationEnabled())
1162 PresentationController::provideTo(frame, client->presentationClient()); 1162 PresentationController::provideTo(frame, client->presentationClient());
1163 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) 1163 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled())
1164 provideAudioOutputDeviceClientTo(frame, 1164 provideAudioOutputDeviceClientTo(frame,
1165 AudioOutputDeviceClientImpl::create()); 1165 AudioOutputDeviceClientImpl::create());
1166 if (RuntimeEnabledFeatures::installedAppEnabled()) 1166 if (RuntimeEnabledFeatures::installedAppEnabled())
1167 InstalledAppController::provideTo(frame, client->installedAppClient()); 1167 InstalledAppController::provideTo(frame, client->installedAppClient());
1168 } 1168 }
1169 1169
1170 } // namespace blink 1170 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698