| 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 void WebView::resetVisitedLinkState(bool invalidateVisitedLinkHashes) { | 345 void WebView::resetVisitedLinkState(bool invalidateVisitedLinkHashes) { |
| 346 Page::allVisitedStateChanged(invalidateVisitedLinkHashes); | 346 Page::allVisitedStateChanged(invalidateVisitedLinkHashes); |
| 347 } | 347 } |
| 348 | 348 |
| 349 void WebView::willEnterModalLoop() { | 349 void WebView::willEnterModalLoop() { |
| 350 pageLoadDeferrerStack().append(wrapUnique(new ScopedPageLoadDeferrer())); | 350 pageLoadDeferrerStack().append(wrapUnique(new ScopedPageLoadDeferrer())); |
| 351 } | 351 } |
| 352 | 352 |
| 353 void WebView::didExitModalLoop() { | 353 void WebView::didExitModalLoop() { |
| 354 DCHECK(pageLoadDeferrerStack().size()); | 354 DCHECK(pageLoadDeferrerStack().size()); |
| 355 pageLoadDeferrerStack().removeLast(); | 355 pageLoadDeferrerStack().pop_back(); |
| 356 } | 356 } |
| 357 | 357 |
| 358 void WebViewImpl::setMainFrame(WebFrame* frame) { | 358 void WebViewImpl::setMainFrame(WebFrame* frame) { |
| 359 frame->toImplBase()->initializeCoreFrame(&page()->frameHost(), 0, nullAtom, | 359 frame->toImplBase()->initializeCoreFrame(&page()->frameHost(), 0, nullAtom, |
| 360 nullAtom); | 360 nullAtom); |
| 361 } | 361 } |
| 362 | 362 |
| 363 void WebViewImpl::setCredentialManagerClient( | 363 void WebViewImpl::setCredentialManagerClient( |
| 364 WebCredentialManagerClient* webCredentialManagerClient) { | 364 WebCredentialManagerClient* webCredentialManagerClient) { |
| 365 DCHECK(m_page); | 365 DCHECK(m_page); |
| (...skipping 4083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4449 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) | 4449 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) |
| 4450 return nullptr; | 4450 return nullptr; |
| 4451 return focusedFrame; | 4451 return focusedFrame; |
| 4452 } | 4452 } |
| 4453 | 4453 |
| 4454 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { | 4454 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { |
| 4455 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; | 4455 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; |
| 4456 } | 4456 } |
| 4457 | 4457 |
| 4458 } // namespace blink | 4458 } // namespace blink |
| OLD | NEW |