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

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

Issue 2863913002: Change AudioOutputDeviceClientImpl to use WebLocalFrameBase and move to modules. (Closed)
Patch Set: Use chrome client to create instances of WebLocalFrameBase. Created 3 years, 7 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "core/layout/HitTestResult.h" 50 #include "core/layout/HitTestResult.h"
51 #include "core/layout/LayoutPart.h" 51 #include "core/layout/LayoutPart.h"
52 #include "core/layout/compositing/CompositedSelection.h" 52 #include "core/layout/compositing/CompositedSelection.h"
53 #include "core/loader/DocumentLoader.h" 53 #include "core/loader/DocumentLoader.h"
54 #include "core/loader/FrameLoadRequest.h" 54 #include "core/loader/FrameLoadRequest.h"
55 #include "core/page/ChromeClient.h" 55 #include "core/page/ChromeClient.h"
56 #include "core/page/Page.h" 56 #include "core/page/Page.h"
57 #include "core/page/PopupOpeningObserver.h" 57 #include "core/page/PopupOpeningObserver.h"
58 #include "modules/accessibility/AXObject.h" 58 #include "modules/accessibility/AXObject.h"
59 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" 59 #include "modules/audio_output_devices/AudioOutputDeviceClient.h"
60 #include "modules/audio_output_devices/AudioOutputDeviceClientImpl.h"
60 #include "modules/installedapp/InstalledAppController.h" 61 #include "modules/installedapp/InstalledAppController.h"
61 #include "modules/mediastream/UserMediaController.h" 62 #include "modules/mediastream/UserMediaController.h"
62 #include "modules/navigatorcontentutils/NavigatorContentUtils.h" 63 #include "modules/navigatorcontentutils/NavigatorContentUtils.h"
63 #include "modules/presentation/PresentationController.h" 64 #include "modules/presentation/PresentationController.h"
64 #include "modules/push_messaging/PushController.h" 65 #include "modules/push_messaging/PushController.h"
65 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h" 66 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
66 #include "modules/vr/VRController.h" 67 #include "modules/vr/VRController.h"
67 #include "platform/Cursor.h" 68 #include "platform/Cursor.h"
68 #include "platform/FileChooser.h" 69 #include "platform/FileChooser.h"
69 #include "platform/Histogram.h" 70 #include "platform/Histogram.h"
(...skipping 30 matching lines...) Expand all
100 #include "public/web/WebPlugin.h" 101 #include "public/web/WebPlugin.h"
101 #include "public/web/WebPopupMenuInfo.h" 102 #include "public/web/WebPopupMenuInfo.h"
102 #include "public/web/WebSelection.h" 103 #include "public/web/WebSelection.h"
103 #include "public/web/WebSettings.h" 104 #include "public/web/WebSettings.h"
104 #include "public/web/WebTextDirection.h" 105 #include "public/web/WebTextDirection.h"
105 #include "public/web/WebTouchAction.h" 106 #include "public/web/WebTouchAction.h"
106 #include "public/web/WebUserGestureIndicator.h" 107 #include "public/web/WebUserGestureIndicator.h"
107 #include "public/web/WebUserGestureToken.h" 108 #include "public/web/WebUserGestureToken.h"
108 #include "public/web/WebViewClient.h" 109 #include "public/web/WebViewClient.h"
109 #include "public/web/WebWindowFeatures.h" 110 #include "public/web/WebWindowFeatures.h"
110 #include "web/AudioOutputDeviceClientImpl.h"
111 #include "web/ColorChooserPopupUIController.h" 111 #include "web/ColorChooserPopupUIController.h"
112 #include "web/ColorChooserUIController.h" 112 #include "web/ColorChooserUIController.h"
113 #include "web/DateTimeChooserImpl.h" 113 #include "web/DateTimeChooserImpl.h"
114 #include "web/DevToolsEmulator.h" 114 #include "web/DevToolsEmulator.h"
115 #include "web/ExternalDateTimeChooser.h" 115 #include "web/ExternalDateTimeChooser.h"
116 #include "web/ExternalPopupMenu.h" 116 #include "web/ExternalPopupMenu.h"
117 #include "web/IndexedDBClientImpl.h" 117 #include "web/IndexedDBClientImpl.h"
118 #include "web/LocalFileSystemClient.h" 118 #include "web/LocalFileSystemClient.h"
119 #include "web/NavigatorContentUtilsClientImpl.h" 119 #include "web/NavigatorContentUtilsClientImpl.h"
120 #include "web/PopupMenuImpl.h" 120 #include "web/PopupMenuImpl.h"
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 frame, client->GetWebScreenOrientationClient()); 1240 frame, client->GetWebScreenOrientationClient());
1241 if (RuntimeEnabledFeatures::presentationEnabled()) 1241 if (RuntimeEnabledFeatures::presentationEnabled())
1242 PresentationController::ProvideTo(frame, client->PresentationClient()); 1242 PresentationController::ProvideTo(frame, client->PresentationClient());
1243 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { 1243 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) {
1244 ProvideAudioOutputDeviceClientTo(frame, 1244 ProvideAudioOutputDeviceClientTo(frame,
1245 new AudioOutputDeviceClientImpl(frame)); 1245 new AudioOutputDeviceClientImpl(frame));
1246 } 1246 }
1247 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); 1247 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher());
1248 } 1248 }
1249 1249
1250 WebLocalFrameBase* ChromeClientImpl::CreateWebLocalFrameBase(
haraken 2017/05/08 04:25:24 Maybe should we call this CreateWebLocalFrameImpl?
dcheng 2017/05/08 04:29:44 This isn't actually creating any objects though, i
haraken 2017/05/08 04:33:54 Ah, right. FromFrame() sounds nice.
1251 LocalFrame* frame) {
1252 return WebLocalFrameImpl::FromFrame(frame);
1253 }
1254
1250 } // namespace blink 1255 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698