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

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

Issue 1099303002: Move html_viewer from mojo/services to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/services/html_viewer/blink_platform_impl.h" 5 #include "components/html_viewer/blink_platform_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "base/threading/platform_thread.h" 13 #include "base/threading/platform_thread.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "mojo/services/html_viewer/blink_resource_constants.h" 15 #include "components/html_viewer/blink_resource_constants.h"
16 #include "mojo/services/html_viewer/web_clipboard_impl.h" 16 #include "components/html_viewer/web_clipboard_impl.h"
17 #include "mojo/services/html_viewer/web_cookie_jar_impl.h" 17 #include "components/html_viewer/web_cookie_jar_impl.h"
18 #include "mojo/services/html_viewer/web_message_port_channel_impl.h" 18 #include "components/html_viewer/web_message_port_channel_impl.h"
19 #include "mojo/services/html_viewer/web_socket_handle_impl.h" 19 #include "components/html_viewer/web_socket_handle_impl.h"
20 #include "mojo/services/html_viewer/web_thread_impl.h" 20 #include "components/html_viewer/web_thread_impl.h"
21 #include "mojo/services/html_viewer/web_url_loader_impl.h" 21 #include "components/html_viewer/web_url_loader_impl.h"
22 #include "net/base/data_url.h" 22 #include "net/base/data_url.h"
23 #include "net/base/mime_util.h" 23 #include "net/base/mime_util.h"
24 #include "net/base/net_errors.h" 24 #include "net/base/net_errors.h"
25 #include "net/base/net_util.h" 25 #include "net/base/net_util.h"
26 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" 26 #include "third_party/WebKit/public/platform/WebWaitableEvent.h"
27 #include "third_party/mojo/src/mojo/public/cpp/application/application_impl.h" 27 #include "third_party/mojo/src/mojo/public/cpp/application/application_impl.h"
28 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" 28 #include "ui/events/gestures/blink/web_gesture_curve_impl.h"
29 29
30 namespace html_viewer { 30 namespace html_viewer {
31 namespace { 31 namespace {
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 314 }
315 315
316 // static 316 // static
317 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { 317 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) {
318 WebThreadImplForMessageLoop* impl = 318 WebThreadImplForMessageLoop* impl =
319 static_cast<WebThreadImplForMessageLoop*>(thread); 319 static_cast<WebThreadImplForMessageLoop*>(thread);
320 delete impl; 320 delete impl;
321 } 321 }
322 322
323 } // namespace html_viewer 323 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/blink_platform_impl.h ('k') | components/html_viewer/blink_resource_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698