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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 #include "content/public/test/download_test_observer.h" | 63 #include "content/public/test/download_test_observer.h" |
64 #include "content/public/test/test_navigation_observer.h" | 64 #include "content/public/test/test_navigation_observer.h" |
65 #include "content/public/test/test_utils.h" | 65 #include "content/public/test/test_utils.h" |
66 #include "net/base/filename_util.h" | 66 #include "net/base/filename_util.h" |
67 #include "net/cookies/cookie_constants.h" | 67 #include "net/cookies/cookie_constants.h" |
68 #include "net/cookies/cookie_monster.h" | 68 #include "net/cookies/cookie_monster.h" |
69 #include "net/cookies/cookie_store.h" | 69 #include "net/cookies/cookie_store.h" |
70 #include "net/test/python_utils.h" | 70 #include "net/test/python_utils.h" |
71 #include "net/url_request/url_request_context.h" | 71 #include "net/url_request/url_request_context.h" |
72 #include "net/url_request/url_request_context_getter.h" | 72 #include "net/url_request/url_request_context_getter.h" |
73 #include "ui/gfx/rect.h" | 73 #include "ui/gfx/geometry/rect.h" |
74 | 74 |
75 #if defined(USE_AURA) | 75 #if defined(USE_AURA) |
76 #include "ash/shell.h" | 76 #include "ash/shell.h" |
77 #include "ui/aura/window_event_dispatcher.h" | 77 #include "ui/aura/window_event_dispatcher.h" |
78 #endif | 78 #endif |
79 | 79 |
80 using content::DomOperationNotificationDetails; | 80 using content::DomOperationNotificationDetails; |
81 using content::NativeWebKeyboardEvent; | 81 using content::NativeWebKeyboardEvent; |
82 using content::NavigationController; | 82 using content::NavigationController; |
83 using content::NavigationEntry; | 83 using content::NavigationEntry; |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 new content::MessageLoopRunner; | 555 new content::MessageLoopRunner; |
556 WaitHistoryLoadedObserver observer(runner.get()); | 556 WaitHistoryLoadedObserver observer(runner.get()); |
557 ScopedObserver<HistoryService, history::HistoryServiceObserver> | 557 ScopedObserver<HistoryService, history::HistoryServiceObserver> |
558 scoped_observer(&observer); | 558 scoped_observer(&observer); |
559 scoped_observer.Add(history_service); | 559 scoped_observer.Add(history_service); |
560 runner->Run(); | 560 runner->Run(); |
561 } | 561 } |
562 } | 562 } |
563 | 563 |
564 } // namespace ui_test_utils | 564 } // namespace ui_test_utils |
OLD | NEW |