| OLD | NEW | 
|---|
| 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/webtest/webtest.h" | 5 #include "mash/webtest/webtest.h" | 
| 6 | 6 | 
| 7 #include "base/macros.h" | 7 #include "base/macros.h" | 
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" | 
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" | 
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" | 
| 11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" | 
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" | 
| 13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" | 
| 14 #include "mash/public/interfaces/launchable.mojom.h" | 14 #include "mash/public/interfaces/launchable.mojom.h" | 
| 15 #include "services/navigation/public/interfaces/view.mojom.h" | 15 #include "services/navigation/public/interfaces/view.mojom.h" | 
| 16 #include "services/shell/public/c/main.h" | 16 #include "services/service_manager/public/c/main.h" | 
| 17 #include "services/shell/public/cpp/connector.h" | 17 #include "services/service_manager/public/cpp/connector.h" | 
| 18 #include "services/shell/public/cpp/service.h" | 18 #include "services/service_manager/public/cpp/service.h" | 
| 19 #include "services/shell/public/cpp/service_runner.h" | 19 #include "services/service_manager/public/cpp/service_runner.h" | 
| 20 #include "services/tracing/public/cpp/provider.h" | 20 #include "services/tracing/public/cpp/provider.h" | 
| 21 #include "services/ui/public/cpp/window.h" | 21 #include "services/ui/public/cpp/window.h" | 
| 22 #include "services/ui/public/cpp/window_tree_client.h" | 22 #include "services/ui/public/cpp/window_tree_client.h" | 
| 23 #include "ui/aura/mus/mus_util.h" | 23 #include "ui/aura/mus/mus_util.h" | 
| 24 #include "ui/gfx/canvas.h" | 24 #include "ui/gfx/canvas.h" | 
| 25 #include "ui/gfx/paint_throbber.h" | 25 #include "ui/gfx/paint_throbber.h" | 
| 26 #include "ui/native_theme/native_theme.h" | 26 #include "ui/native_theme/native_theme.h" | 
| 27 #include "ui/views/background.h" | 27 #include "ui/views/background.h" | 
| 28 #include "ui/views/controls/button/label_button.h" | 28 #include "ui/views/controls/button/label_button.h" | 
| 29 #include "ui/views/controls/textfield/textfield.h" | 29 #include "ui/views/controls/textfield/textfield.h" | 
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 194   AddWindow(window); | 194   AddWindow(window); | 
| 195 } | 195 } | 
| 196 | 196 | 
| 197 void Webtest::Create(const shell::Identity& remote_identity, | 197 void Webtest::Create(const shell::Identity& remote_identity, | 
| 198                      mojom::LaunchableRequest request) { | 198                      mojom::LaunchableRequest request) { | 
| 199   bindings_.AddBinding(this, std::move(request)); | 199   bindings_.AddBinding(this, std::move(request)); | 
| 200 } | 200 } | 
| 201 | 201 | 
| 202 }  // namespace webtest | 202 }  // namespace webtest | 
| 203 }  // namespace mash | 203 }  // namespace mash | 
| OLD | NEW | 
|---|