| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 *m_page, DedicatedWorkerMessagingProxyProviderImpl::create(*m_page)); | 410 *m_page, DedicatedWorkerMessagingProxyProviderImpl::create(*m_page)); |
| 411 StorageNamespaceController::provideStorageNamespaceTo(*m_page, | 411 StorageNamespaceController::provideStorageNamespaceTo(*m_page, |
| 412 &m_storageClientImpl); | 412 &m_storageClientImpl); |
| 413 | 413 |
| 414 setVisibilityState(visibilityState, true); | 414 setVisibilityState(visibilityState, true); |
| 415 | 415 |
| 416 initializeLayerTreeView(); | 416 initializeLayerTreeView(); |
| 417 | 417 |
| 418 m_devToolsEmulator = DevToolsEmulator::create(this); | 418 m_devToolsEmulator = DevToolsEmulator::create(this); |
| 419 | 419 |
| 420 allInstances().add(this); | 420 allInstances().insert(this); |
| 421 | 421 |
| 422 m_pageImportanceSignals.setObserver(client); | 422 m_pageImportanceSignals.setObserver(client); |
| 423 m_resizeViewportAnchor = new ResizeViewportAnchor(*m_page); | 423 m_resizeViewportAnchor = new ResizeViewportAnchor(*m_page); |
| 424 } | 424 } |
| 425 | 425 |
| 426 WebViewImpl::~WebViewImpl() { | 426 WebViewImpl::~WebViewImpl() { |
| 427 DCHECK(!m_page); | 427 DCHECK(!m_page); |
| 428 | 428 |
| 429 // Each highlight uses m_owningWebViewImpl->m_linkHighlightsTimeline | 429 // Each highlight uses m_owningWebViewImpl->m_linkHighlightsTimeline |
| 430 // in destructor. m_linkHighlightsTimeline might be destroyed earlier | 430 // in destructor. m_linkHighlightsTimeline might be destroyed earlier |
| (...skipping 3758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4189 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) | 4189 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) |
| 4190 return nullptr; | 4190 return nullptr; |
| 4191 return focusedFrame; | 4191 return focusedFrame; |
| 4192 } | 4192 } |
| 4193 | 4193 |
| 4194 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { | 4194 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { |
| 4195 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; | 4195 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; |
| 4196 } | 4196 } |
| 4197 | 4197 |
| 4198 } // namespace blink | 4198 } // namespace blink |
| OLD | NEW |