Chromium Code Reviews| Index: content/shell/browser/layout_test/blink_test_controller.h |
| diff --git a/content/shell/browser/layout_test/blink_test_controller.h b/content/shell/browser/layout_test/blink_test_controller.h |
| index 2d7f699051aebf07dc3e91bfe53b4ac646876e91..fc7ced6ea5fe93cd89f0baafd311e8505b362379 100644 |
| --- a/content/shell/browser/layout_test/blink_test_controller.h |
| +++ b/content/shell/browser/layout_test/blink_test_controller.h |
| @@ -27,6 +27,7 @@ |
| #include "content/public/browser/web_contents_observer.h" |
| #include "content/public/common/web_preferences.h" |
| #include "content/shell/common/leak_detection_result.h" |
| +#include "content/shell/common/shell.mojom.h" |
| #include "ui/gfx/geometry/size.h" |
| #if defined(OS_ANDROID) |
| @@ -215,6 +216,7 @@ class BlinkTestController : public base::NonThreadSafe, |
| void OnGetBluetoothManualChooserEvents(); |
| void OnSendBluetoothManualChooserEvent(const std::string& event, |
| const std::string& argument); |
| + const mojom::ShellViewAssociatedPtr& GetShellViewPtr(RenderFrameHost* frame); |
|
tibell
2017/01/19 00:29:54
This could probably return a mojom::ShellView* ins
Jia
2017/01/20 01:52:14
Done.
|
| std::unique_ptr<BlinkTestResultPrinter> printer_; |
| @@ -278,6 +280,8 @@ class BlinkTestController : public base::NonThreadSafe, |
| // renderer created while test is in progress). |
| base::DictionaryValue accumulated_layout_test_runtime_flags_changes_; |
| + // Map from one frame to one mojo pipe. |
| + std::map<RenderFrameHost*, mojom::ShellViewAssociatedPtr> shellview_map_; |
| #if defined(OS_ANDROID) |
| // Because of the nested message pump implementation, Android needs to allow |
| // waiting on the UI thread while layout tests are being ran. |