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

Side by Side Diff: components/arc/intent_helper/arc_intent_helper_bridge.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/arc/intent_helper/arc_intent_helper_bridge.h" 5 #include "components/arc/intent_helper/arc_intent_helper_bridge.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/new_window_controller.h" 9 #include "ash/new_window_controller.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/shell_delegate.h" 11 #include "ash/shell_delegate.h"
12 #include "ash/wallpaper/wallpaper_controller.h" 12 #include "ash/wallpaper/wallpaper_controller.h"
13 #include "ash/wm_shell.h"
14 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
15 #include "components/arc/arc_bridge_service.h" 14 #include "components/arc/arc_bridge_service.h"
16 #include "components/arc/arc_service_manager.h" 15 #include "components/arc/arc_service_manager.h"
17 #include "components/arc/intent_helper/link_handler_model_impl.h" 16 #include "components/arc/intent_helper/link_handler_model_impl.h"
18 #include "components/arc/intent_helper/local_activity_resolver.h" 17 #include "components/arc/intent_helper/local_activity_resolver.h"
19 #include "ui/base/layout.h" 18 #include "ui/base/layout.h"
20 #include "url/gurl.h" 19 #include "url/gurl.h"
21 20
22 namespace arc { 21 namespace arc {
23 22
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void ArcIntentHelperBridge::OnIntentFiltersUpdated( 133 void ArcIntentHelperBridge::OnIntentFiltersUpdated(
135 std::vector<IntentFilter> filters) { 134 std::vector<IntentFilter> filters) {
136 DCHECK(thread_checker_.CalledOnValidThread()); 135 DCHECK(thread_checker_.CalledOnValidThread());
137 activity_resolver_->UpdateIntentFilters(std::move(filters)); 136 activity_resolver_->UpdateIntentFilters(std::move(filters));
138 137
139 for (auto& observer : observer_list_) 138 for (auto& observer : observer_list_)
140 observer.OnIntentFiltersUpdated(); 139 observer.OnIntentFiltersUpdated();
141 } 140 }
142 141
143 } // namespace arc 142 } // namespace arc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698