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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
25 #include "content/public/browser/child_process_data.h" | 25 #include "content/public/browser/child_process_data.h" |
26 #include "content/public/browser/plugin_service.h" | 26 #include "content/public/browser/plugin_service.h" |
27 #include "content/public/browser/web_contents.h" | 27 #include "content/public/browser/web_contents.h" |
28 #include "content/public/common/content_constants.h" | 28 #include "content/public/common/content_constants.h" |
29 #include "content/public/common/content_paths.h" | 29 #include "content/public/common/content_paths.h" |
30 #include "content/public/common/process_type.h" | 30 #include "content/public/common/process_type.h" |
31 #include "content/public/common/webplugininfo.h" | 31 #include "content/public/common/webplugininfo.h" |
32 #include "content/public/test/browser_test_utils.h" | 32 #include "content/public/test/browser_test_utils.h" |
33 #include "content/public/test/test_utils.h" | 33 #include "content/public/test/test_utils.h" |
34 #include "net/base/net_util.h" | 34 #include "net/base/filename_util.h" |
35 | 35 |
36 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
37 #include "content/public/browser/web_contents_view.h" | 37 #include "content/public/browser/web_contents_view.h" |
38 #include "ui/aura/window.h" | 38 #include "ui/aura/window.h" |
39 #include "ui/aura/window_tree_host.h" | 39 #include "ui/aura/window_tree_host.h" |
40 #endif | 40 #endif |
41 | 41 |
42 using content::BrowserThread; | 42 using content::BrowserThread; |
43 | 43 |
44 namespace { | 44 namespace { |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 HWND hwnd = | 329 HWND hwnd = |
330 tab->GetView()->GetNativeView()->GetHost()->GetAcceleratedWidget(); | 330 tab->GetView()->GetNativeView()->GetHost()->GetAcceleratedWidget(); |
331 EnumChildWindows(hwnd, EnumerateChildren,reinterpret_cast<LPARAM>(&child)); | 331 EnumChildWindows(hwnd, EnumerateChildren,reinterpret_cast<LPARAM>(&child)); |
332 | 332 |
333 RECT region; | 333 RECT region; |
334 int result = GetWindowRgnBox(child, ®ion); | 334 int result = GetWindowRgnBox(child, ®ion); |
335 ASSERT_NE(result, NULLREGION); | 335 ASSERT_NE(result, NULLREGION); |
336 } | 336 } |
337 | 337 |
338 #endif | 338 #endif |
OLD | NEW |