Merge WebMainThreadScheduler into WebThreadScheduler.

The class hierarchy between WebThreadScheduler and WebMainThread-
Scheduler has been an issue because it creates a complex class hierarchy
in implementation classes.

This patch merge those classes into one and simplify the relationship.
The new virtual member functions added to WebThreadScheduler only works
for a scheduler created on the main thread. The caller is aware of
which scheduler it's calling, so this is OK.

[email protected],[email protected]

Bug: 826203
Change-Id: I90f3aa9b4718575778f210298320fc1f3448646c
Reviewed-on: https://chromium-review.googlesource.com/1074916
Commit-Queue: Yuta Kitamura <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Reviewed-by: Alexander Timin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#562347}
diff --git a/content/renderer/input/widget_input_handler_impl.cc b/content/renderer/input/widget_input_handler_impl.cc
index dd01e03..07a2cd8 100644
--- a/content/renderer/input/widget_input_handler_impl.cc
+++ b/content/renderer/input/widget_input_handler_impl.cc
@@ -16,7 +16,7 @@
 #include "content/renderer/render_thread_impl.h"
 #include "content/renderer/render_widget.h"
 #include "third_party/blink/public/platform/platform.h"
-#include "third_party/blink/public/platform/scheduler/web_main_thread_scheduler.h"
+#include "third_party/blink/public/platform/scheduler/web_thread_scheduler.h"
 #include "third_party/blink/public/platform/web_coalesced_input_event.h"
 #include "third_party/blink/public/platform/web_keyboard_event.h"
 #include "third_party/blink/public/web/web_local_frame.h"