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

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

Issue 2459003003: WTF/std normalization: replace WTF::Vector::removeLast with ::pop_back (Closed)
Patch Set: rebase Created 4 years, 1 month 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp ('k') | third_party/WebKit/Source/wtf/Vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698