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

Side by Side Diff: services/ui/public/cpp/raster_thread_helper.h

Issue 2189893002: services/ui: Create a proper component for the client-lib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 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 #ifndef SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_
6 #define SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_ 6 #define SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "services/ui/public/cpp/ui_export.h"
11 12
12 namespace cc { 13 namespace cc {
13 class TaskGraphRunner; 14 class TaskGraphRunner;
14 class SingleThreadTaskGraphRunner; 15 class SingleThreadTaskGraphRunner;
15 } 16 }
16 17
17 namespace ui { 18 namespace ui {
18 19
19 class RasterThreadHelper { 20 class UI_EXPORT RasterThreadHelper {
20 public: 21 public:
21 RasterThreadHelper(); 22 RasterThreadHelper();
22 ~RasterThreadHelper(); 23 ~RasterThreadHelper();
23 24
24 cc::TaskGraphRunner* task_graph_runner(); 25 cc::TaskGraphRunner* task_graph_runner();
25 26
26 private: 27 private:
27 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; 28 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
28 29
29 DISALLOW_COPY_AND_ASSIGN(RasterThreadHelper); 30 DISALLOW_COPY_AND_ASSIGN(RasterThreadHelper);
30 }; 31 };
31 32
32 } // namespace ui 33 } // namespace ui
33 34
34 #endif // SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_ 35 #endif // SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/property_type_converters.h ('k') | services/ui/public/cpp/scoped_window_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698