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

Unified Diff: mojo/services/html_viewer/webthread_impl.h

Issue 1090953002: Small cleanups in the Mojo HTML viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/html_viewer/webthemeengine_impl.h ('k') | mojo/services/html_viewer/weburlloader_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/webthread_impl.h
diff --git a/mojo/services/html_viewer/webthread_impl.h b/mojo/services/html_viewer/webthread_impl.h
index f03d5632ed3b0989dc75e6a2fe8c5c8044e6f9d5..1b30ad60ee2945f3f5e4f0bb588c9e0de709a4c9 100644
--- a/mojo/services/html_viewer/webthread_impl.h
+++ b/mojo/services/html_viewer/webthread_impl.h
@@ -15,12 +15,12 @@ namespace html_viewer {
class WebThreadBase : public blink::WebThread {
public:
- ~WebThreadBase() override;
+ virtual ~WebThreadBase();
- void addTaskObserver(TaskObserver* observer) override;
- void removeTaskObserver(TaskObserver* observer) override;
+ virtual void addTaskObserver(TaskObserver* observer);
+ virtual void removeTaskObserver(TaskObserver* observer);
- bool isCurrentThread() const override = 0;
+ virtual bool isCurrentThread() const = 0;
protected:
WebThreadBase();
@@ -37,18 +37,18 @@ class WebThreadImpl : public WebThreadBase {
explicit WebThreadImpl(const char* name);
~WebThreadImpl() override;
- void postTask(const blink::WebTraceLocation& location, Task* task) override;
- void postDelayedTask(const blink::WebTraceLocation& location,
- Task* task,
- long long delay_ms) override;
+ virtual void postTask(const blink::WebTraceLocation& location, Task* task);
+ virtual void postDelayedTask(const blink::WebTraceLocation& location,
+ Task* task,
+ long long delay_ms);
- void enterRunLoop() override;
- void exitRunLoop() override;
+ virtual void enterRunLoop();
+ virtual void exitRunLoop();
base::MessageLoop* message_loop() const { return thread_->message_loop(); }
bool isCurrentThread() const override;
- blink::PlatformThreadId threadId() const override;
+ virtual blink::PlatformThreadId threadId() const;
private:
scoped_ptr<base::Thread> thread_;
@@ -60,17 +60,17 @@ class WebThreadImplForMessageLoop : public WebThreadBase {
base::MessageLoopProxy* message_loop);
~WebThreadImplForMessageLoop() override;
- void postTask(const blink::WebTraceLocation& location, Task* task) override;
- void postDelayedTask(const blink::WebTraceLocation& location,
- Task* task,
- long long delay_ms) override;
+ virtual void postTask(const blink::WebTraceLocation& location, Task* task);
+ virtual void postDelayedTask(const blink::WebTraceLocation& location,
+ Task* task,
+ long long delay_ms);
- void enterRunLoop() override;
- void exitRunLoop() override;
+ virtual void enterRunLoop();
+ virtual void exitRunLoop();
private:
bool isCurrentThread() const override;
- blink::PlatformThreadId threadId() const override;
+ virtual blink::PlatformThreadId threadId() const;
scoped_refptr<base::MessageLoopProxy> message_loop_;
blink::PlatformThreadId thread_id_;
« no previous file with comments | « mojo/services/html_viewer/webthemeengine_impl.h ('k') | mojo/services/html_viewer/weburlloader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698