| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 #include "public/web/WebSelection.h" | 152 #include "public/web/WebSelection.h" |
| 153 #include "public/web/WebTextInputInfo.h" | 153 #include "public/web/WebTextInputInfo.h" |
| 154 #include "public/web/WebViewClient.h" | 154 #include "public/web/WebViewClient.h" |
| 155 #include "public/web/WebWindowFeatures.h" | 155 #include "public/web/WebWindowFeatures.h" |
| 156 #include "web/CompositionUnderlineVectorBuilder.h" | 156 #include "web/CompositionUnderlineVectorBuilder.h" |
| 157 #include "web/CompositorMutatorImpl.h" | 157 #include "web/CompositorMutatorImpl.h" |
| 158 #include "web/CompositorProxyClientImpl.h" | 158 #include "web/CompositorProxyClientImpl.h" |
| 159 #include "web/ContextFeaturesClientImpl.h" | 159 #include "web/ContextFeaturesClientImpl.h" |
| 160 #include "web/ContextMenuAllowedScope.h" | 160 #include "web/ContextMenuAllowedScope.h" |
| 161 #include "web/DatabaseClientImpl.h" | 161 #include "web/DatabaseClientImpl.h" |
| 162 #include "web/DedicatedWorkerGlobalScopeProxyProviderImpl.h" | 162 #include "web/DedicatedWorkerMessagingProxyProviderImpl.h" |
| 163 #include "web/DevToolsEmulator.h" | 163 #include "web/DevToolsEmulator.h" |
| 164 #include "web/FullscreenController.h" | 164 #include "web/FullscreenController.h" |
| 165 #include "web/InspectorOverlay.h" | 165 #include "web/InspectorOverlay.h" |
| 166 #include "web/LinkHighlightImpl.h" | 166 #include "web/LinkHighlightImpl.h" |
| 167 #include "web/PageOverlay.h" | 167 #include "web/PageOverlay.h" |
| 168 #include "web/PrerendererClientImpl.h" | 168 #include "web/PrerendererClientImpl.h" |
| 169 #include "web/ResizeViewportAnchor.h" | 169 #include "web/ResizeViewportAnchor.h" |
| 170 #include "web/RotationViewportAnchor.h" | 170 #include "web/RotationViewportAnchor.h" |
| 171 #include "web/SpeechRecognitionClientProxy.h" | 171 #include "web/SpeechRecognitionClientProxy.h" |
| 172 #include "web/StorageQuotaClientImpl.h" | 172 #include "web/StorageQuotaClientImpl.h" |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 pageClients.spellCheckerClient = &m_spellCheckerClientImpl; | 456 pageClients.spellCheckerClient = &m_spellCheckerClientImpl; |
| 457 | 457 |
| 458 m_page = Page::createOrdinary(pageClients); | 458 m_page = Page::createOrdinary(pageClients); |
| 459 MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl); | 459 MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl); |
| 460 provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(cli
ent ? client->speechRecognizer() : nullptr)); | 460 provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(cli
ent ? client->speechRecognizer() : nullptr)); |
| 461 provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create()); | 461 provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create()); |
| 462 provideDatabaseClientTo(*m_page, DatabaseClientImpl::create()); | 462 provideDatabaseClientTo(*m_page, DatabaseClientImpl::create()); |
| 463 | 463 |
| 464 provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create()); | 464 provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create()); |
| 465 m_page->setValidationMessageClient(ValidationMessageClientImpl::create(*this
)); | 465 m_page->setValidationMessageClient(ValidationMessageClientImpl::create(*this
)); |
| 466 provideDedicatedWorkerGlobalScopeProxyProviderTo(*m_page, DedicatedWorkerGlo
balScopeProxyProviderImpl::create()); | 466 provideDedicatedWorkerMessagingProxyProviderTo(*m_page, DedicatedWorkerMessa
gingProxyProviderImpl::create()); |
| 467 StorageNamespaceController::provideStorageNamespaceTo(*m_page, &m_storageCli
entImpl); | 467 StorageNamespaceController::provideStorageNamespaceTo(*m_page, &m_storageCli
entImpl); |
| 468 | 468 |
| 469 setVisibilityState(visibilityState, true); | 469 setVisibilityState(visibilityState, true); |
| 470 | 470 |
| 471 initializeLayerTreeView(); | 471 initializeLayerTreeView(); |
| 472 | 472 |
| 473 m_devToolsEmulator = DevToolsEmulator::create(this); | 473 m_devToolsEmulator = DevToolsEmulator::create(this); |
| 474 | 474 |
| 475 allInstances().add(this); | 475 allInstances().add(this); |
| 476 | 476 |
| (...skipping 4134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4611 return nullptr; | 4611 return nullptr; |
| 4612 return focusedFrame; | 4612 return focusedFrame; |
| 4613 } | 4613 } |
| 4614 | 4614 |
| 4615 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const | 4615 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const |
| 4616 { | 4616 { |
| 4617 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; | 4617 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; |
| 4618 } | 4618 } |
| 4619 | 4619 |
| 4620 } // namespace blink | 4620 } // namespace blink |
| OLD | NEW |