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

Side by Side Diff: third_party/WebKit/Source/modules/presentation/PresentationController.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/presentation/PresentationController.h" 5 #include "modules/presentation/PresentationController.h"
6 6
7 #include <memory>
7 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
8 #include "core/frame/LocalFrame.h" 9 #include "core/frame/LocalFrame.h"
9 #include "modules/presentation/PresentationConnection.h" 10 #include "modules/presentation/PresentationConnection.h"
11 #include "platform/wtf/PtrUtil.h"
10 #include "public/platform/WebString.h" 12 #include "public/platform/WebString.h"
11 #include "public/platform/WebVector.h" 13 #include "public/platform/WebVector.h"
12 #include "public/platform/modules/presentation/WebPresentationClient.h" 14 #include "public/platform/modules/presentation/WebPresentationClient.h"
13 #include "wtf/PtrUtil.h"
14 #include <memory>
15 15
16 namespace blink { 16 namespace blink {
17 17
18 PresentationController::PresentationController(LocalFrame& frame, 18 PresentationController::PresentationController(LocalFrame& frame,
19 WebPresentationClient* client) 19 WebPresentationClient* client)
20 : Supplement<LocalFrame>(frame), 20 : Supplement<LocalFrame>(frame),
21 ContextLifecycleObserver(frame.GetDocument()), 21 ContextLifecycleObserver(frame.GetDocument()),
22 client_(client) { 22 client_(client) {
23 if (client_) 23 if (client_)
24 client_->SetController(this); 24 client_->SetController(this);
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 const WebPresentationInfo& presentation_info) { 162 const WebPresentationInfo& presentation_info) {
163 for (const auto& connection : connections_) { 163 for (const auto& connection : connections_) {
164 if (connection->Matches(presentation_info)) 164 if (connection->Matches(presentation_info))
165 return connection.Get(); 165 return connection.Get();
166 } 166 }
167 167
168 return nullptr; 168 return nullptr;
169 } 169 }
170 170
171 } // namespace blink 171 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698