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

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

Issue 2714943004: Move unique name generation and tracking into //content. (Closed)
Patch Set: Rebase again. Created 3 years, 9 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 void WebView::willEnterModalLoop() { 302 void WebView::willEnterModalLoop() {
303 pageSuspenderStack().push_back(WTF::makeUnique<ScopedPageSuspender>()); 303 pageSuspenderStack().push_back(WTF::makeUnique<ScopedPageSuspender>());
304 } 304 }
305 305
306 void WebView::didExitModalLoop() { 306 void WebView::didExitModalLoop() {
307 DCHECK(pageSuspenderStack().size()); 307 DCHECK(pageSuspenderStack().size());
308 pageSuspenderStack().pop_back(); 308 pageSuspenderStack().pop_back();
309 } 309 }
310 310
311 void WebViewImpl::setMainFrame(WebFrame* frame) { 311 void WebViewImpl::setMainFrame(WebFrame* frame) {
312 frame->toImplBase()->initializeCoreFrame(&page()->frameHost(), 0, nullAtom, 312 frame->toImplBase()->initializeCoreFrame(&page()->frameHost(), 0, nullAtom);
313 nullAtom);
314 } 313 }
315 314
316 void WebViewImpl::setCredentialManagerClient( 315 void WebViewImpl::setCredentialManagerClient(
317 WebCredentialManagerClient* webCredentialManagerClient) { 316 WebCredentialManagerClient* webCredentialManagerClient) {
318 DCHECK(m_page); 317 DCHECK(m_page);
319 provideCredentialManagerClientTo( 318 provideCredentialManagerClientTo(
320 *m_page, new CredentialManagerClient(webCredentialManagerClient)); 319 *m_page, new CredentialManagerClient(webCredentialManagerClient));
321 } 320 }
322 321
323 void WebViewImpl::setPrerendererClient( 322 void WebViewImpl::setPrerendererClient(
(...skipping 3850 matching lines...) Expand 10 before | Expand all | Expand 10 after
4174 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) 4173 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame())
4175 return nullptr; 4174 return nullptr;
4176 return focusedFrame; 4175 return focusedFrame;
4177 } 4176 }
4178 4177
4179 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { 4178 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const {
4180 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; 4179 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr;
4181 } 4180 }
4182 4181
4183 } // namespace blink 4182 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/Source/web/tests/FrameTestHelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698