| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 #include "public/web/WebViewClient.h" | 144 #include "public/web/WebViewClient.h" |
| 145 #include "public/web/WebWindowFeatures.h" | 145 #include "public/web/WebWindowFeatures.h" |
| 146 #include "web/CompositionUnderlineVectorBuilder.h" | 146 #include "web/CompositionUnderlineVectorBuilder.h" |
| 147 #include "web/ContextFeaturesClientImpl.h" | 147 #include "web/ContextFeaturesClientImpl.h" |
| 148 #include "web/DatabaseClientImpl.h" | 148 #include "web/DatabaseClientImpl.h" |
| 149 #include "web/DevToolsEmulator.h" | 149 #include "web/DevToolsEmulator.h" |
| 150 #include "web/FullscreenController.h" | 150 #include "web/FullscreenController.h" |
| 151 #include "web/GraphicsLayerFactoryChromium.h" | 151 #include "web/GraphicsLayerFactoryChromium.h" |
| 152 #include "web/InspectorOverlayImpl.h" | 152 #include "web/InspectorOverlayImpl.h" |
| 153 #include "web/LinkHighlight.h" | 153 #include "web/LinkHighlight.h" |
| 154 #include "web/NavigatorContentUtilsClientImpl.h" | |
| 155 #include "web/PrerendererClientImpl.h" | 154 #include "web/PrerendererClientImpl.h" |
| 156 #include "web/ResizeViewportAnchor.h" | 155 #include "web/ResizeViewportAnchor.h" |
| 157 #include "web/RotationViewportAnchor.h" | 156 #include "web/RotationViewportAnchor.h" |
| 158 #include "web/SpeechRecognitionClientProxy.h" | 157 #include "web/SpeechRecognitionClientProxy.h" |
| 159 #include "web/StorageQuotaClientImpl.h" | 158 #include "web/StorageQuotaClientImpl.h" |
| 160 #include "web/ValidationMessageClientImpl.h" | 159 #include "web/ValidationMessageClientImpl.h" |
| 161 #include "web/ViewportAnchor.h" | 160 #include "web/ViewportAnchor.h" |
| 162 #include "web/WebDevToolsAgentImpl.h" | 161 #include "web/WebDevToolsAgentImpl.h" |
| 163 #include "web/WebInputEventConversion.h" | 162 #include "web/WebInputEventConversion.h" |
| 164 #include "web/WebLocalFrameImpl.h" | 163 #include "web/WebLocalFrameImpl.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 Page::PageClients pageClients; | 429 Page::PageClients pageClients; |
| 431 pageClients.chromeClient = &m_chromeClientImpl; | 430 pageClients.chromeClient = &m_chromeClientImpl; |
| 432 pageClients.contextMenuClient = &m_contextMenuClientImpl; | 431 pageClients.contextMenuClient = &m_contextMenuClientImpl; |
| 433 pageClients.editorClient = &m_editorClientImpl; | 432 pageClients.editorClient = &m_editorClientImpl; |
| 434 pageClients.dragClient = &m_dragClientImpl; | 433 pageClients.dragClient = &m_dragClientImpl; |
| 435 pageClients.spellCheckerClient = &m_spellCheckerClientImpl; | 434 pageClients.spellCheckerClient = &m_spellCheckerClientImpl; |
| 436 | 435 |
| 437 m_page = adoptPtrWillBeNoop(new Page(pageClients)); | 436 m_page = adoptPtrWillBeNoop(new Page(pageClients)); |
| 438 MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl); | 437 MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl); |
| 439 provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(cli
ent ? client->speechRecognizer() : 0)); | 438 provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(cli
ent ? client->speechRecognizer() : 0)); |
| 440 provideNavigatorContentUtilsTo(*m_page, NavigatorContentUtilsClientImpl::cre
ate(this)); | |
| 441 provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create()); | 439 provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create()); |
| 442 provideDatabaseClientTo(*m_page, DatabaseClientImpl::create()); | 440 provideDatabaseClientTo(*m_page, DatabaseClientImpl::create()); |
| 443 | 441 |
| 444 provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create()); | 442 provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create()); |
| 445 m_page->setValidationMessageClient(ValidationMessageClientImpl::create(*this
)); | 443 m_page->setValidationMessageClient(ValidationMessageClientImpl::create(*this
)); |
| 446 provideWorkerGlobalScopeProxyProviderTo(*m_page, WorkerGlobalScopeProxyProvi
derImpl::create()); | 444 provideWorkerGlobalScopeProxyProviderTo(*m_page, WorkerGlobalScopeProxyProvi
derImpl::create()); |
| 447 StorageNamespaceController::provideStorageNamespaceTo(*m_page, &m_storageCli
entImpl); | 445 StorageNamespaceController::provideStorageNamespaceTo(*m_page, &m_storageCli
entImpl); |
| 448 | 446 |
| 449 m_page->makeOrdinary(); | 447 m_page->makeOrdinary(); |
| 450 | 448 |
| (...skipping 3942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4393 { | 4391 { |
| 4394 WebGLRenderingContext::forceNextWebGLContextCreationToFail(); | 4392 WebGLRenderingContext::forceNextWebGLContextCreationToFail(); |
| 4395 } | 4393 } |
| 4396 | 4394 |
| 4397 void WebViewImpl::forceNextDrawingBufferCreationToFail() | 4395 void WebViewImpl::forceNextDrawingBufferCreationToFail() |
| 4398 { | 4396 { |
| 4399 DrawingBuffer::forceNextDrawingBufferCreationToFail(); | 4397 DrawingBuffer::forceNextDrawingBufferCreationToFail(); |
| 4400 } | 4398 } |
| 4401 | 4399 |
| 4402 } // namespace blink | 4400 } // namespace blink |
| OLD | NEW |