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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: 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) 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 m_overrideCompositorVisibility(false) { 391 m_overrideCompositorVisibility(false) {
392 Page::PageClients pageClients; 392 Page::PageClients pageClients;
393 pageClients.chromeClient = m_chromeClientImpl.get(); 393 pageClients.chromeClient = m_chromeClientImpl.get();
394 pageClients.contextMenuClient = &m_contextMenuClientImpl; 394 pageClients.contextMenuClient = &m_contextMenuClientImpl;
395 pageClients.editorClient = &m_editorClientImpl; 395 pageClients.editorClient = &m_editorClientImpl;
396 pageClients.spellCheckerClient = &m_spellCheckerClientImpl; 396 pageClients.spellCheckerClient = &m_spellCheckerClientImpl;
397 397
398 m_page = Page::createOrdinary(pageClients); 398 m_page = Page::createOrdinary(pageClients);
399 MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl); 399 MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl);
400 provideSpeechRecognitionTo( 400 provideSpeechRecognitionTo(
401 *m_page, SpeechRecognitionClientProxy::create( 401 *m_page,
402 client ? client->speechRecognizer() : nullptr)); 402 SpeechRecognitionClientProxy::create(client ? client->speechRecognizer()
403 : nullptr));
403 provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create()); 404 provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create());
404 provideDatabaseClientTo(*m_page, DatabaseClientImpl::create()); 405 provideDatabaseClientTo(*m_page, DatabaseClientImpl::create());
405 406
406 provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create()); 407 provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create());
407 m_page->setValidationMessageClient( 408 m_page->setValidationMessageClient(
408 ValidationMessageClientImpl::create(*this)); 409 ValidationMessageClientImpl::create(*this));
409 provideDedicatedWorkerMessagingProxyProviderTo( 410 provideDedicatedWorkerMessagingProxyProviderTo(
410 *m_page, DedicatedWorkerMessagingProxyProviderImpl::create(*m_page)); 411 *m_page, DedicatedWorkerMessagingProxyProviderImpl::create(*m_page));
411 StorageNamespaceController::provideStorageNamespaceTo(*m_page, 412 StorageNamespaceController::provideStorageNamespaceTo(*m_page,
412 &m_storageClientImpl); 413 &m_storageClientImpl);
(...skipping 3723 matching lines...) Expand 10 before | Expand all | Expand 10 after
4136 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) 4137 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame())
4137 return nullptr; 4138 return nullptr;
4138 return focusedFrame; 4139 return focusedFrame;
4139 } 4140 }
4140 4141
4141 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { 4142 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const {
4142 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; 4143 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr;
4143 } 4144 }
4144 4145
4145 } // namespace blink 4146 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698