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

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

Issue 2488573002: Refactor getInstalledRelatedApps code and add manifest logic and tests. (Closed)
Patch Set: Use SecurityOrigin, not WebSecurityOrigin. Created 3 years, 10 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 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 1220
1221 ScreenOrientationControllerImpl::provideTo( 1221 ScreenOrientationControllerImpl::provideTo(
1222 frame, client->webScreenOrientationClient()); 1222 frame, client->webScreenOrientationClient());
1223 if (RuntimeEnabledFeatures::presentationEnabled()) 1223 if (RuntimeEnabledFeatures::presentationEnabled())
1224 PresentationController::provideTo(frame, client->presentationClient()); 1224 PresentationController::provideTo(frame, client->presentationClient());
1225 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { 1225 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) {
1226 provideAudioOutputDeviceClientTo(frame, 1226 provideAudioOutputDeviceClientTo(frame,
1227 new AudioOutputDeviceClientImpl(frame)); 1227 new AudioOutputDeviceClientImpl(frame));
1228 } 1228 }
1229 if (RuntimeEnabledFeatures::installedAppEnabled()) 1229 if (RuntimeEnabledFeatures::installedAppEnabled())
1230 InstalledAppController::provideTo(frame, client->installedAppClient()); 1230 InstalledAppController::provideTo(frame, client->relatedAppsFetcher());
1231 } 1231 }
1232 1232
1233 } // namespace blink 1233 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698