| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 #include "ui/gfx/codec/jpeg_codec.h" | 89 #include "ui/gfx/codec/jpeg_codec.h" |
| 90 #include "ui/gfx/range/range.h" | 90 #include "ui/gfx/range/range.h" |
| 91 #include "ui/native_theme/native_theme_features.h" | 91 #include "ui/native_theme/native_theme_features.h" |
| 92 | 92 |
| 93 #if defined(OS_WIN) | 93 #if defined(OS_WIN) |
| 94 #include "base/win/windows_version.h" | 94 #include "base/win/windows_version.h" |
| 95 #endif | 95 #endif |
| 96 | 96 |
| 97 #if defined(USE_AURA) && defined(USE_X11) | 97 #if defined(USE_AURA) && defined(USE_X11) |
| 98 #include <X11/Xlib.h> | 98 #include <X11/Xlib.h> |
| 99 #undef None // Defined by X11/X.h to 0L which collides with other headers |
| 99 #include "base/memory/ptr_util.h" | 100 #include "base/memory/ptr_util.h" |
| 100 #include "ui/events/event_constants.h" | 101 #include "ui/events/event_constants.h" |
| 101 #include "ui/events/keycodes/keyboard_code_conversion.h" | 102 #include "ui/events/keycodes/keyboard_code_conversion.h" |
| 102 #include "ui/events/test/events_test_utils.h" | 103 #include "ui/events/test/events_test_utils.h" |
| 103 #include "ui/events/test/events_test_utils_x11.h" | 104 #include "ui/events/test/events_test_utils_x11.h" |
| 104 #endif | 105 #endif |
| 105 | 106 |
| 106 #if defined(USE_OZONE) | 107 #if defined(USE_OZONE) |
| 107 #include "ui/events/keycodes/keyboard_code_conversion.h" | 108 #include "ui/events/keycodes/keyboard_code_conversion.h" |
| 108 #endif | 109 #endif |
| (...skipping 2545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2654 ExpectPauseAndResume(3); | 2655 ExpectPauseAndResume(3); |
| 2655 blink::WebScriptSource source2( | 2656 blink::WebScriptSource source2( |
| 2656 WebString::FromUTF8("function func2() { func1(); }; func2();")); | 2657 WebString::FromUTF8("function func2() { func1(); }; func2();")); |
| 2657 frame()->GetWebFrame()->ExecuteScriptInIsolatedWorld(17, &source2, 1); | 2658 frame()->GetWebFrame()->ExecuteScriptInIsolatedWorld(17, &source2, 1); |
| 2658 | 2659 |
| 2659 EXPECT_FALSE(IsPaused()); | 2660 EXPECT_FALSE(IsPaused()); |
| 2660 Detach(); | 2661 Detach(); |
| 2661 } | 2662 } |
| 2662 | 2663 |
| 2663 } // namespace content | 2664 } // namespace content |
| OLD | NEW |