DescriptionChange AudioOutputDeviceClientImpl to use WebLocalFrameBase and move to modules.
AudioOutputDeviceClientImpl is the first class that is using WebLocalFrameBase
to break the dependency on WebLocalFrameImpl, and as a result this CL contains
a lot off additional once only changes to support this.
Changes contained in this cl:
- Create a WebInitializer class that is called when WebKit is being initialized
for the process. This class can then contain once-per-process initialization
code.
- Use WebInitialize to register callbacks to create WebLocalFrameImpl from
WebLocalFrameBase. Without this callback mechanism we would need to put
WebLocalFrameBase::FromFrame implementation intl WebLocalFrameImpl, but this
will not link as modules/ cannot depend on web/. The callbacks allow us to
keep WebLocalFrameBase independent from WebLocalFrameImpl.
- Add a pure virtual Client() method to WebLocalFrameBase that is used by
AudioOutputDeviceCientImpl.
- Move AudioOutputDeviceClientImpl to modules/audio_output_devices.
I suppose it is possible to merge AudioOutputDeviceClientImpl with
AudioOutputDeviceClient, but my preference would be to do this in a followup
CL.
BUG=708879
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix code review comments. #
Total comments: 10
Patch Set 3 : Use chrome client to create instances of WebLocalFrameBase. #
Total comments: 5
Messages
Total messages: 32 (16 generated)
|