| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 #include "public/web/WebScriptSource.h" | 101 #include "public/web/WebScriptSource.h" |
| 102 #include "public/web/WebSettings.h" | 102 #include "public/web/WebSettings.h" |
| 103 #include "public/web/WebTreeScopeType.h" | 103 #include "public/web/WebTreeScopeType.h" |
| 104 #include "public/web/WebViewClient.h" | 104 #include "public/web/WebViewClient.h" |
| 105 #include "public/web/WebWidget.h" | 105 #include "public/web/WebWidget.h" |
| 106 #include "public/web/WebWidgetClient.h" | 106 #include "public/web/WebWidgetClient.h" |
| 107 #include "testing/gtest/include/gtest/gtest.h" | 107 #include "testing/gtest/include/gtest/gtest.h" |
| 108 #include "third_party/skia/include/core/SkBitmap.h" | 108 #include "third_party/skia/include/core/SkBitmap.h" |
| 109 #include "third_party/skia/include/core/SkCanvas.h" | 109 #include "third_party/skia/include/core/SkCanvas.h" |
| 110 #include "web/DevToolsEmulator.h" | 110 #include "web/DevToolsEmulator.h" |
| 111 #include "web/WebInputMethodControllerImpl.h" | |
| 112 #include "web/WebSettingsImpl.h" | 111 #include "web/WebSettingsImpl.h" |
| 113 #include "web/tests/FrameTestHelpers.h" | 112 #include "web/tests/FrameTestHelpers.h" |
| 114 | 113 |
| 115 #if OS(MACOSX) | 114 #if OS(MACOSX) |
| 116 #include "public/web/mac/WebSubstringUtil.h" | 115 #include "public/web/mac/WebSubstringUtil.h" |
| 117 #endif | 116 #endif |
| 118 | 117 |
| 119 using blink::FrameTestHelpers::LoadFrame; | 118 using blink::FrameTestHelpers::LoadFrame; |
| 120 using blink::URLTestHelpers::ToKURL; | 119 using blink::URLTestHelpers::ToKURL; |
| 121 using blink::URLTestHelpers::RegisterMockedURLLoad; | 120 using blink::URLTestHelpers::RegisterMockedURLLoad; |
| (...skipping 4218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4340 EXPECT_FALSE(frame_view->VisualViewportSuppliesScrollbars()); | 4339 EXPECT_FALSE(frame_view->VisualViewportSuppliesScrollbars()); |
| 4341 if (RuntimeEnabledFeatures::rootLayerScrollingEnabled()) { | 4340 if (RuntimeEnabledFeatures::rootLayerScrollingEnabled()) { |
| 4342 EXPECT_NE(nullptr, | 4341 EXPECT_NE(nullptr, |
| 4343 frame_view->LayoutViewportScrollableArea()->VerticalScrollbar()); | 4342 frame_view->LayoutViewportScrollableArea()->VerticalScrollbar()); |
| 4344 } else { | 4343 } else { |
| 4345 EXPECT_NE(nullptr, frame_view->VerticalScrollbar()); | 4344 EXPECT_NE(nullptr, frame_view->VerticalScrollbar()); |
| 4346 } | 4345 } |
| 4347 } | 4346 } |
| 4348 | 4347 |
| 4349 } // namespace blink | 4348 } // namespace blink |
| OLD | NEW |