| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <tuple> | 7 #include <tuple> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 #include "content/renderer/render_view_impl.h" | 59 #include "content/renderer/render_view_impl.h" |
| 60 #include "content/shell/browser/shell.h" | 60 #include "content/shell/browser/shell.h" |
| 61 #include "content/shell/browser/shell_browser_context.h" | 61 #include "content/shell/browser/shell_browser_context.h" |
| 62 #include "content/test/mock_keyboard.h" | 62 #include "content/test/mock_keyboard.h" |
| 63 #include "content/test/test_render_frame.h" | 63 #include "content/test/test_render_frame.h" |
| 64 #include "net/base/net_errors.h" | 64 #include "net/base/net_errors.h" |
| 65 #include "net/cert/cert_status_flags.h" | 65 #include "net/cert/cert_status_flags.h" |
| 66 #include "testing/gtest/include/gtest/gtest.h" | 66 #include "testing/gtest/include/gtest/gtest.h" |
| 67 #include "third_party/WebKit/public/platform/WebData.h" | 67 #include "third_party/WebKit/public/platform/WebData.h" |
| 68 #include "third_party/WebKit/public/platform/WebHTTPBody.h" | 68 #include "third_party/WebKit/public/platform/WebHTTPBody.h" |
| 69 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
| 69 #include "third_party/WebKit/public/platform/WebString.h" | 70 #include "third_party/WebKit/public/platform/WebString.h" |
| 70 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 71 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 71 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerNetworkProvider.h" | 72 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerNetworkProvider.h" |
| 72 #include "third_party/WebKit/public/web/WebDataSource.h" | 73 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 73 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 74 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
| 74 #include "third_party/WebKit/public/web/WebFrameContentDumper.h" | 75 #include "third_party/WebKit/public/web/WebFrameContentDumper.h" |
| 75 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 76 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 76 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 77 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
| 77 #include "third_party/WebKit/public/web/WebInputMethodController.h" | 78 #include "third_party/WebKit/public/web/WebInputMethodController.h" |
| 78 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 79 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 79 #include "third_party/WebKit/public/web/WebPerformance.h" | 80 #include "third_party/WebKit/public/web/WebPerformance.h" |
| 80 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
| 81 #include "third_party/WebKit/public/web/WebScriptSource.h" | 81 #include "third_party/WebKit/public/web/WebScriptSource.h" |
| 82 #include "third_party/WebKit/public/web/WebSettings.h" | 82 #include "third_party/WebKit/public/web/WebSettings.h" |
| 83 #include "third_party/WebKit/public/web/WebView.h" | 83 #include "third_party/WebKit/public/web/WebView.h" |
| 84 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 84 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |
| 85 #include "ui/events/base_event_utils.h" | 85 #include "ui/events/base_event_utils.h" |
| 86 #include "ui/events/event.h" | 86 #include "ui/events/event.h" |
| 87 #include "ui/events/keycodes/keyboard_codes.h" | 87 #include "ui/events/keycodes/keyboard_codes.h" |
| 88 #include "ui/gfx/codec/jpeg_codec.h" | 88 #include "ui/gfx/codec/jpeg_codec.h" |
| 89 #include "ui/gfx/range/range.h" | 89 #include "ui/gfx/range/range.h" |
| 90 #include "ui/native_theme/native_theme_features.h" | 90 #include "ui/native_theme/native_theme_features.h" |
| (...skipping 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2591 ExpectPauseAndResume(3); | 2591 ExpectPauseAndResume(3); |
| 2592 blink::WebScriptSource source2( | 2592 blink::WebScriptSource source2( |
| 2593 WebString::FromUTF8("function func2() { func1(); }; func2();")); | 2593 WebString::FromUTF8("function func2() { func1(); }; func2();")); |
| 2594 frame()->GetWebFrame()->ExecuteScriptInIsolatedWorld(17, &source2, 1); | 2594 frame()->GetWebFrame()->ExecuteScriptInIsolatedWorld(17, &source2, 1); |
| 2595 | 2595 |
| 2596 EXPECT_FALSE(IsPaused()); | 2596 EXPECT_FALSE(IsPaused()); |
| 2597 Detach(); | 2597 Detach(); |
| 2598 } | 2598 } |
| 2599 | 2599 |
| 2600 } // namespace content | 2600 } // namespace content |
| OLD | NEW |