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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
(...skipping 4359 matching lines...) Expand 10 before | Expand all | Expand 10 after
4370 WTF::bind(&Document::sendSensitiveInputVisibilityInternal, 4370 WTF::bind(&Document::sendSensitiveInputVisibilityInternal,
4371 wrapWeakPersistent(this))); 4371 wrapWeakPersistent(this)));
4372 } 4372 }
4373 4373
4374 void Document::sendSensitiveInputVisibilityInternal() { 4374 void Document::sendSensitiveInputVisibilityInternal() {
4375 if (!frame()) 4375 if (!frame())
4376 return; 4376 return;
4377 4377
4378 mojom::blink::SensitiveInputVisibilityServicePtr sensitiveInputServicePtr; 4378 mojom::blink::SensitiveInputVisibilityServicePtr sensitiveInputServicePtr;
4379 frame()->interfaceProvider()->getInterface( 4379 frame()->interfaceProvider()->getInterface(
4380 mojo::GetProxy(&sensitiveInputServicePtr)); 4380 mojo::MakeRequest(&sensitiveInputServicePtr));
4381 if (m_passwordCount > 0) { 4381 if (m_passwordCount > 0) {
4382 sensitiveInputServicePtr->PasswordFieldVisibleInInsecureContext(); 4382 sensitiveInputServicePtr->PasswordFieldVisibleInInsecureContext();
4383 return; 4383 return;
4384 } 4384 }
4385 sensitiveInputServicePtr->AllPasswordFieldsInInsecureContextInvisible(); 4385 sensitiveInputServicePtr->AllPasswordFieldsInInsecureContextInvisible();
4386 } 4386 }
4387 4387
4388 void Document::runExecutionContextTask( 4388 void Document::runExecutionContextTask(
4389 std::unique_ptr<ExecutionContextTask> task, 4389 std::unique_ptr<ExecutionContextTask> task,
4390 bool isInstrumented) { 4390 bool isInstrumented) {
(...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after
6585 } 6585 }
6586 6586
6587 void showLiveDocumentInstances() { 6587 void showLiveDocumentInstances() {
6588 WeakDocumentSet& set = liveDocumentSet(); 6588 WeakDocumentSet& set = liveDocumentSet();
6589 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6589 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6590 for (Document* document : set) 6590 for (Document* document : set)
6591 fprintf(stderr, "- Document %p URL: %s\n", document, 6591 fprintf(stderr, "- Document %p URL: %s\n", document,
6592 document->url().getString().utf8().data()); 6592 document->url().getString().utf8().data());
6593 } 6593 }
6594 #endif 6594 #endif
OLDNEW
« no previous file with comments | « services/video_capture/test/service_unittest.cc ('k') | third_party/WebKit/Source/modules/background_sync/SyncManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698