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 "chrome/test/base/ui_test_utils.h" | 5 #include "chrome/test/base/ui_test_utils.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 #include "content/public/test/test_utils.h" | 72 #include "content/public/test/test_utils.h" |
73 #include "net/base/net_util.h" | 73 #include "net/base/net_util.h" |
74 #include "net/test/python_utils.h" | 74 #include "net/test/python_utils.h" |
75 #include "third_party/skia/include/core/SkBitmap.h" | 75 #include "third_party/skia/include/core/SkBitmap.h" |
76 #include "third_party/skia/include/core/SkColor.h" | 76 #include "third_party/skia/include/core/SkColor.h" |
77 #include "ui/gfx/size.h" | 77 #include "ui/gfx/size.h" |
78 #include "ui/snapshot/test/snapshot_desktop.h" | 78 #include "ui/snapshot/test/snapshot_desktop.h" |
79 | 79 |
80 #if defined(USE_AURA) | 80 #if defined(USE_AURA) |
81 #include "ash/shell.h" | 81 #include "ash/shell.h" |
82 #include "ui/aura/root_window.h" | 82 #include "ui/aura/window_event_dispatcher.h" |
83 #endif | 83 #endif |
84 | 84 |
85 using content::DomOperationNotificationDetails; | 85 using content::DomOperationNotificationDetails; |
86 using content::NativeWebKeyboardEvent; | 86 using content::NativeWebKeyboardEvent; |
87 using content::NavigationController; | 87 using content::NavigationController; |
88 using content::NavigationEntry; | 88 using content::NavigationEntry; |
89 using content::OpenURLParams; | 89 using content::OpenURLParams; |
90 using content::RenderViewHost; | 90 using content::RenderViewHost; |
91 using content::RenderWidgetHost; | 91 using content::RenderWidgetHost; |
92 using content::Referrer; | 92 using content::Referrer; |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 void HistoryEnumerator::HistoryQueryComplete( | 544 void HistoryEnumerator::HistoryQueryComplete( |
545 const base::Closure& quit_task, | 545 const base::Closure& quit_task, |
546 HistoryService::Handle request_handle, | 546 HistoryService::Handle request_handle, |
547 history::QueryResults* results) { | 547 history::QueryResults* results) { |
548 for (size_t i = 0; i < results->size(); ++i) | 548 for (size_t i = 0; i < results->size(); ++i) |
549 urls_.push_back((*results)[i].url()); | 549 urls_.push_back((*results)[i].url()); |
550 quit_task.Run(); | 550 quit_task.Run(); |
551 } | 551 } |
552 | 552 |
553 } // namespace ui_test_utils | 553 } // namespace ui_test_utils |
OLD | NEW |