| 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 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "content/renderer/render_view_impl.h" | 52 #include "content/renderer/render_view_impl.h" |
| 53 #include "content/shell/browser/shell.h" | 53 #include "content/shell/browser/shell.h" |
| 54 #include "content/shell/browser/shell_browser_context.h" | 54 #include "content/shell/browser/shell_browser_context.h" |
| 55 #include "content/test/mock_keyboard.h" | 55 #include "content/test/mock_keyboard.h" |
| 56 #include "content/test/test_render_frame.h" | 56 #include "content/test/test_render_frame.h" |
| 57 #include "net/base/net_errors.h" | 57 #include "net/base/net_errors.h" |
| 58 #include "net/cert/cert_status_flags.h" | 58 #include "net/cert/cert_status_flags.h" |
| 59 #include "testing/gtest/include/gtest/gtest.h" | 59 #include "testing/gtest/include/gtest/gtest.h" |
| 60 #include "third_party/WebKit/public/platform/WebData.h" | 60 #include "third_party/WebKit/public/platform/WebData.h" |
| 61 #include "third_party/WebKit/public/platform/WebHTTPBody.h" | 61 #include "third_party/WebKit/public/platform/WebHTTPBody.h" |
| 62 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
| 62 #include "third_party/WebKit/public/platform/WebString.h" | 63 #include "third_party/WebKit/public/platform/WebString.h" |
| 63 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 64 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 64 #include "third_party/WebKit/public/web/WebDataSource.h" | 65 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 65 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 66 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
| 66 #include "third_party/WebKit/public/web/WebFrameContentDumper.h" | 67 #include "third_party/WebKit/public/web/WebFrameContentDumper.h" |
| 67 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 68 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 68 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 69 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
| 69 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 70 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 70 #include "third_party/WebKit/public/web/WebPerformance.h" | 71 #include "third_party/WebKit/public/web/WebPerformance.h" |
| 71 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
| 72 #include "third_party/WebKit/public/web/WebSettings.h" | 72 #include "third_party/WebKit/public/web/WebSettings.h" |
| 73 #include "third_party/WebKit/public/web/WebView.h" | 73 #include "third_party/WebKit/public/web/WebView.h" |
| 74 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 74 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |
| 75 #include "ui/events/event.h" | 75 #include "ui/events/event.h" |
| 76 #include "ui/events/keycodes/keyboard_codes.h" | 76 #include "ui/events/keycodes/keyboard_codes.h" |
| 77 #include "ui/gfx/codec/jpeg_codec.h" | 77 #include "ui/gfx/codec/jpeg_codec.h" |
| 78 #include "ui/gfx/range/range.h" | 78 #include "ui/gfx/range/range.h" |
| 79 | 79 |
| 80 #if defined(USE_AURA) && defined(USE_X11) | 80 #if defined(USE_AURA) && defined(USE_X11) |
| 81 #include <X11/Xlib.h> | 81 #include <X11/Xlib.h> |
| (...skipping 2769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2851 FROM_HERE, | 2851 FROM_HERE, |
| 2852 base::Bind(&DevToolsAgentTest::CloseWhilePaused, base::Unretained(this))); | 2852 base::Bind(&DevToolsAgentTest::CloseWhilePaused, base::Unretained(this))); |
| 2853 ExecuteJavaScriptForTests("debugger;"); | 2853 ExecuteJavaScriptForTests("debugger;"); |
| 2854 | 2854 |
| 2855 // CloseWhilePaused should resume execution and continue here. | 2855 // CloseWhilePaused should resume execution and continue here. |
| 2856 EXPECT_FALSE(IsPaused()); | 2856 EXPECT_FALSE(IsPaused()); |
| 2857 Detach(); | 2857 Detach(); |
| 2858 } | 2858 } |
| 2859 | 2859 |
| 2860 } // namespace content | 2860 } // namespace content |
| OLD | NEW |