| Index: android_webview/browser/test/fake_window.h | 
| diff --git a/android_webview/browser/test/fake_window.h b/android_webview/browser/test/fake_window.h | 
| index 18b0cf4cf9661f2373864b1349b4ec0a8bc0794b..192c4e4b826753416636c0b3c33680f2c7fcf5a7 100644 | 
| --- a/android_webview/browser/test/fake_window.h | 
| +++ b/android_webview/browser/test/fake_window.h | 
| @@ -7,6 +7,7 @@ | 
|  | 
| #include <map> | 
|  | 
| +#include "android_webview/public/browser/draw_gl.h" | 
| #include "base/memory/weak_ptr.h" | 
| #include "base/sequence_checker.h" | 
| #include "base/single_thread_task_runner.h" | 
| @@ -35,15 +36,18 @@ class WindowHooks { | 
| virtual void DidSyncOnRT(SharedRendererState* functor) = 0; | 
| virtual void WillProcessOnRT(SharedRendererState* functor) = 0; | 
| virtual void DidProcessOnRT(SharedRendererState* functor) = 0; | 
| -  virtual void WillDrawOnRT(SharedRendererState* functor) = 0; | 
| +  virtual void SetParentDrawConstraints(AwDrawGLInfo& draw_info) = 0; | 
| +  virtual bool WillDrawOnRT(SharedRendererState* functor) = 0; | 
| virtual void DidDrawOnRT(SharedRendererState* functor) = 0; | 
| +  virtual bool WillWaitForModeDrawToFinish() = 0; | 
| }; | 
|  | 
| class FakeWindow { | 
| public: | 
| FakeWindow(BrowserViewRenderer* view, | 
| WindowHooks* hooks, | 
| -             gfx::Rect location); | 
| +             gfx::Rect location, | 
| +             bool will_wait_for_mode_draw_to_finish); | 
| ~FakeWindow(); | 
|  | 
| void Detach(); | 
| @@ -51,6 +55,7 @@ class FakeWindow { | 
| // BrowserViewRendererClient methods. | 
| void RequestDrawGL(bool wait_for_completion); | 
| void PostInvalidate(); | 
| +  const gfx::Size& surface_size() { return surface_size_; } | 
|  | 
| private: | 
| class ScopedMakeCurrent; | 
| @@ -69,6 +74,7 @@ class FakeWindow { | 
| BrowserViewRenderer* const view_; | 
| WindowHooks* const hooks_; | 
| const gfx::Size surface_size_; | 
| +  const bool will_wait_for_mode_draw_to_finish_; | 
|  | 
| // UI thread members. | 
| gfx::Rect location_; | 
|  |