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

Side by Side Diff: components/html_viewer/global_state.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 | « components/html_viewer/content_handler_impl.h ('k') | components/html_viewer/html_document.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 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/html_viewer/global_state.h" 5 #include "components/html_viewer/global_state.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "cc/blink/web_layer_impl.h" 15 #include "cc/blink/web_layer_impl.h"
16 #include "cc/layers/layer_settings.h" 16 #include "cc/layers/layer_settings.h"
17 #include "components/html_viewer/blink_platform_impl.h" 17 #include "components/html_viewer/blink_platform_impl.h"
18 #include "components/html_viewer/blink_settings_impl.h" 18 #include "components/html_viewer/blink_settings_impl.h"
19 #include "components/html_viewer/media_factory.h" 19 #include "components/html_viewer/media_factory.h"
20 #include "components/scheduler/renderer/renderer_scheduler.h" 20 #include "components/scheduler/renderer/renderer_scheduler.h"
21 #include "gin/v8_initializer.h" 21 #include "gin/v8_initializer.h"
22 #include "mojo/application/public/cpp/application_impl.h"
23 #include "mojo/logging/init_logging.h" 22 #include "mojo/logging/init_logging.h"
24 #include "mojo/services/tracing/public/cpp/tracing_impl.h" 23 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
24 #include "mojo/shell/public/cpp/application_impl.h"
25 #include "third_party/WebKit/public/web/WebKit.h" 25 #include "third_party/WebKit/public/web/WebKit.h"
26 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 26 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
27 #include "ui/base/resource/resource_bundle.h" 27 #include "ui/base/resource/resource_bundle.h"
28 #include "ui/base/ui_base_paths.h" 28 #include "ui/base/ui_base_paths.h"
29 #include "ui/gfx/display.h" 29 #include "ui/gfx/display.h"
30 #include "ui/mojo/init/ui_init.h" 30 #include "ui/mojo/init/ui_init.h"
31 #include "v8/include/v8.h" 31 #include "v8/include/v8.h"
32 32
33 #if defined(OS_LINUX) && !defined(OS_ANDROID) 33 #if defined(OS_LINUX) && !defined(OS_ANDROID)
34 #include "components/font_service/public/cpp/font_loader.h" 34 #include "components/font_service/public/cpp/font_loader.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 return gpu_info_.get(); 196 return gpu_info_.get();
197 } 197 }
198 198
199 void GlobalState::GetGpuInfoCallback(mus::mojom::GpuInfoPtr gpu_info) { 199 void GlobalState::GetGpuInfoCallback(mus::mojom::GpuInfoPtr gpu_info) {
200 CHECK(gpu_info); 200 CHECK(gpu_info);
201 gpu_info_ = std::move(gpu_info); 201 gpu_info_ = std::move(gpu_info);
202 gpu_service_.reset(); 202 gpu_service_.reset();
203 } 203 }
204 204
205 } // namespace html_viewer 205 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/content_handler_impl.h ('k') | components/html_viewer/html_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698