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

Side by Side Diff: components/html_viewer/web_thread_impl.h

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 #ifndef MOJO_SERVICES_HTML_VIEWER_WEB_THREAD_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_THREAD_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_WEB_THREAD_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_THREAD_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "mojo/services/html_viewer/web_scheduler_impl.h" 12 #include "components/html_viewer/web_scheduler_impl.h"
13 #include "third_party/WebKit/public/platform/WebThread.h" 13 #include "third_party/WebKit/public/platform/WebThread.h"
14 14
15 namespace html_viewer { 15 namespace html_viewer {
16 16
17 class WebThreadBase : public blink::WebThread { 17 class WebThreadBase : public blink::WebThread {
18 public: 18 public:
19 virtual ~WebThreadBase(); 19 virtual ~WebThreadBase();
20 20
21 virtual void addTaskObserver(TaskObserver* observer); 21 virtual void addTaskObserver(TaskObserver* observer);
22 virtual void removeTaskObserver(TaskObserver* observer); 22 virtual void removeTaskObserver(TaskObserver* observer);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 bool isCurrentThread() const override; 78 bool isCurrentThread() const override;
79 virtual blink::PlatformThreadId threadId() const; 79 virtual blink::PlatformThreadId threadId() const;
80 80
81 scoped_refptr<base::MessageLoopProxy> message_loop_; 81 scoped_refptr<base::MessageLoopProxy> message_loop_;
82 scoped_ptr<WebSchedulerImpl> web_scheduler_; 82 scoped_ptr<WebSchedulerImpl> web_scheduler_;
83 blink::PlatformThreadId thread_id_; 83 blink::PlatformThreadId thread_id_;
84 }; 84 };
85 85
86 } // namespace html_viewer 86 } // namespace html_viewer
87 87
88 #endif // MOJO_SERVICES_HTML_VIEWER_WEB_THREAD_IMPL_H_ 88 #endif // COMPONENTS_HTML_VIEWER_WEB_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_theme_engine_impl.cc ('k') | components/html_viewer/web_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698