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 "content/public/test/layouttest_support.h" | 5 #include "content/public/test/layouttest_support.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "content/common/gpu/image_transport_surface.h" | 9 #include "content/common/gpu/image_transport_surface.h" |
10 #include "content/renderer/devtools/devtools_client.h" | 10 #include "content/renderer/devtools/devtools_client.h" |
11 #include "content/renderer/render_thread_impl.h" | 11 #include "content/renderer/render_thread_impl.h" |
12 #include "content/renderer/render_view_impl.h" | 12 #include "content/renderer/render_view_impl.h" |
13 #include "content/renderer/renderer_webapplicationcachehost_impl.h" | 13 #include "content/renderer/renderer_webapplicationcachehost_impl.h" |
14 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 14 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" | 15 #include "third_party/WebKit/public/platform/WebGamepads.h" |
16 #include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/Web
TestProxy.h" | 16 #include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/Web
TestProxy.h" |
17 | 17 |
18 #if defined(OS_WIN) && !defined(USE_AURA) | 18 #if defined(OS_WIN) && !defined(USE_AURA) |
19 #include "content/browser/web_contents/web_contents_drag_win.h" | 19 #include "content/browser/web_contents/web_contents_drag_win.h" |
20 #endif | 20 #endif |
21 | 21 |
22 #if defined(OS_MACOSX) | 22 #if defined(OS_MACOSX) |
23 #include "content/browser/renderer_host/popup_menu_helper_mac.h" | 23 #include "content/browser/renderer_host/popup_menu_helper_mac.h" |
24 #endif | 24 #endif |
25 | 25 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 #endif | 114 #endif |
115 } | 115 } |
116 | 116 |
117 void DisableModalPopupMenus() { | 117 void DisableModalPopupMenus() { |
118 #if defined(OS_MACOSX) | 118 #if defined(OS_MACOSX) |
119 PopupMenuHelper::DontShowPopupMenuForTesting(); | 119 PopupMenuHelper::DontShowPopupMenuForTesting(); |
120 #endif | 120 #endif |
121 } | 121 } |
122 | 122 |
123 } // namespace content | 123 } // namespace content |
OLD | NEW |