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

Side by Side Diff: mash/quick_launch/quick_launch_application.cc

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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
« no previous file with comments | « mash/quick_launch/quick_launch_application.h ('k') | mash/session/session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "mash/quick_launch/quick_launch_application.h" 5 #include "mash/quick_launch/quick_launch_application.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 catalog::mojom::CatalogPtr catalog; 191 catalog::mojom::CatalogPtr catalog;
192 connector_->ConnectToInterface("mojo:catalog", &catalog); 192 connector_->ConnectToInterface("mojo:catalog", &catalog);
193 193
194 views::Widget* window = views::Widget::CreateWindowWithContextAndBounds( 194 views::Widget* window = views::Widget::CreateWindowWithContextAndBounds(
195 new QuickLaunchUI(this, connector_, std::move(catalog)), nullptr, 195 new QuickLaunchUI(this, connector_, std::move(catalog)), nullptr,
196 gfx::Rect(10, 640, 0, 0)); 196 gfx::Rect(10, 640, 0, 0));
197 window->Show(); 197 window->Show();
198 windows_.push_back(window); 198 windows_.push_back(window);
199 } 199 }
200 200
201 void QuickLaunchApplication::Create(shell::Connection* connection, 201 void QuickLaunchApplication::Create(const shell::Identity& remote_identity,
202 mojom::LaunchableRequest request) { 202 mojom::LaunchableRequest request) {
203 bindings_.AddBinding(this, std::move(request)); 203 bindings_.AddBinding(this, std::move(request));
204 } 204 }
205 205
206 } // namespace quick_launch 206 } // namespace quick_launch
207 } // namespace mash 207 } // namespace mash
OLDNEW
« no previous file with comments | « mash/quick_launch/quick_launch_application.h ('k') | mash/session/session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698