| OLD | NEW |
| 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 "components/web_view/frame_connection.h" | 5 #include "components/web_view/frame_connection.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "build/build_config.h" |
| 9 #include "components/clipboard/public/interfaces/clipboard.mojom.h" | 10 #include "components/clipboard/public/interfaces/clipboard.mojom.h" |
| 10 #include "components/mus/public/interfaces/gpu.mojom.h" | 11 #include "components/mus/public/interfaces/gpu.mojom.h" |
| 11 #include "components/mus/public/interfaces/window_tree_host.mojom.h" | 12 #include "components/mus/public/interfaces/window_tree_host.mojom.h" |
| 12 #include "components/resource_provider/public/interfaces/resource_provider.mojom
.h" | 13 #include "components/resource_provider/public/interfaces/resource_provider.mojom
.h" |
| 13 #include "components/web_view/frame_tree.h" | 14 #include "components/web_view/frame_tree.h" |
| 14 #include "components/web_view/frame_utils.h" | 15 #include "components/web_view/frame_utils.h" |
| 15 #include "components/web_view/test_runner/public/interfaces/layout_test_runner.m
ojom.h" | 16 #include "components/web_view/test_runner/public/interfaces/layout_test_runner.m
ojom.h" |
| 16 #include "mojo/application/public/cpp/application_connection.h" | 17 #include "mojo/application/public/cpp/application_connection.h" |
| 17 #include "mojo/application/public/cpp/application_impl.h" | 18 #include "mojo/application/public/cpp/application_impl.h" |
| 18 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" | 19 #include "mojo/services/network/public/interfaces/cookie_store.mojom.h" |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 } | 126 } |
| 126 | 127 |
| 127 uint32_t FrameConnection::GetContentHandlerID() const { | 128 uint32_t FrameConnection::GetContentHandlerID() const { |
| 128 uint32_t content_handler_id = mojo::Shell::kInvalidContentHandlerID; | 129 uint32_t content_handler_id = mojo::Shell::kInvalidContentHandlerID; |
| 129 if (!application_connection_->GetContentHandlerID(&content_handler_id)) | 130 if (!application_connection_->GetContentHandlerID(&content_handler_id)) |
| 130 NOTREACHED(); | 131 NOTREACHED(); |
| 131 return content_handler_id; | 132 return content_handler_id; |
| 132 } | 133 } |
| 133 | 134 |
| 134 } // namespace web_view | 135 } // namespace web_view |
| OLD | NEW |