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

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

Issue 2612903007: Migrate WTF::Vector::append() to ::push_back() [part 15 of N] (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/web/ColorChooserPopupUIController.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) 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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 1093
1094 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient( 1094 CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(
1095 LocalFrame* frame) { 1095 LocalFrame* frame) {
1096 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); 1096 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
1097 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); 1097 return webFrame->localRoot()->frameWidget()->createCompositorProxyClient();
1098 } 1098 }
1099 1099
1100 void ChromeClientImpl::registerPopupOpeningObserver( 1100 void ChromeClientImpl::registerPopupOpeningObserver(
1101 PopupOpeningObserver* observer) { 1101 PopupOpeningObserver* observer) {
1102 DCHECK(observer); 1102 DCHECK(observer);
1103 m_popupOpeningObservers.append(observer); 1103 m_popupOpeningObservers.push_back(observer);
1104 } 1104 }
1105 1105
1106 void ChromeClientImpl::unregisterPopupOpeningObserver( 1106 void ChromeClientImpl::unregisterPopupOpeningObserver(
1107 PopupOpeningObserver* observer) { 1107 PopupOpeningObserver* observer) {
1108 size_t index = m_popupOpeningObservers.find(observer); 1108 size_t index = m_popupOpeningObservers.find(observer);
1109 DCHECK_NE(index, kNotFound); 1109 DCHECK_NE(index, kNotFound);
1110 m_popupOpeningObservers.remove(index); 1110 m_popupOpeningObservers.remove(index);
1111 } 1111 }
1112 1112
1113 void ChromeClientImpl::notifyPopupOpeningObservers() const { 1113 void ChromeClientImpl::notifyPopupOpeningObservers() const {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 if (RuntimeEnabledFeatures::presentationEnabled()) 1152 if (RuntimeEnabledFeatures::presentationEnabled())
1153 PresentationController::provideTo(frame, client->presentationClient()); 1153 PresentationController::provideTo(frame, client->presentationClient());
1154 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) 1154 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled())
1155 provideAudioOutputDeviceClientTo(frame, 1155 provideAudioOutputDeviceClientTo(frame,
1156 AudioOutputDeviceClientImpl::create()); 1156 AudioOutputDeviceClientImpl::create());
1157 if (RuntimeEnabledFeatures::installedAppEnabled()) 1157 if (RuntimeEnabledFeatures::installedAppEnabled())
1158 InstalledAppController::provideTo(frame, client->installedAppClient()); 1158 InstalledAppController::provideTo(frame, client->installedAppClient());
1159 } 1159 }
1160 1160
1161 } // namespace blink 1161 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698