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 "blimp/client/blimp_startup.h" | 5 #include "blimp/client/app/blimp_startup.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "third_party/skia/include/core/SkGraphics.h" | 12 #include "third_party/skia/include/core/SkGraphics.h" |
13 #include "ui/gl/gl_surface.h" | 13 #include "ui/gl/gl_surface.h" |
14 | 14 |
15 namespace { | 15 namespace { |
(...skipping 30 matching lines...) Expand all Loading... |
46 | 46 |
47 if (!gfx::GLSurface::InitializeOneOff()) | 47 if (!gfx::GLSurface::InitializeOneOff()) |
48 return false; | 48 return false; |
49 SkGraphics::Init(); | 49 SkGraphics::Init(); |
50 g_main_message_loop.Get().reset(new base::MessageLoopForUI); | 50 g_main_message_loop.Get().reset(new base::MessageLoopForUI); |
51 return true; | 51 return true; |
52 } | 52 } |
53 | 53 |
54 } // namespace client | 54 } // namespace client |
55 } // namespace blimp | 55 } // namespace blimp |
OLD | NEW |