| 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/browser_test_utils.h" | 5 #include "content/public/test/browser_test_utils.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/json/json_reader.h" | 9 #include "base/json/json_reader.h" |
| 10 #include "base/process/kill.h" | 10 #include "base/process/kill.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "net/test/embedded_test_server/embedded_test_server.h" | 36 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 37 #include "net/test/embedded_test_server/http_request.h" | 37 #include "net/test/embedded_test_server/http_request.h" |
| 38 #include "net/test/embedded_test_server/http_response.h" | 38 #include "net/test/embedded_test_server/http_response.h" |
| 39 #include "net/test/python_utils.h" | 39 #include "net/test/python_utils.h" |
| 40 #include "net/url_request/url_request_context.h" | 40 #include "net/url_request/url_request_context.h" |
| 41 #include "net/url_request/url_request_context_getter.h" | 41 #include "net/url_request/url_request_context_getter.h" |
| 42 #include "testing/gtest/include/gtest/gtest.h" | 42 #include "testing/gtest/include/gtest/gtest.h" |
| 43 #include "ui/base/resource/resource_bundle.h" | 43 #include "ui/base/resource/resource_bundle.h" |
| 44 #include "ui/compositor/test/draw_waiter_for_test.h" | 44 #include "ui/compositor/test/draw_waiter_for_test.h" |
| 45 #include "ui/events/gesture_detection/gesture_configuration.h" | 45 #include "ui/events/gesture_detection/gesture_configuration.h" |
| 46 #include "ui/events/keycodes/dom4/keycode_converter.h" | 46 #include "ui/events/keycodes/dom/keycode_converter.h" |
| 47 #include "ui/resources/grit/webui_resources.h" | 47 #include "ui/resources/grit/webui_resources.h" |
| 48 | 48 |
| 49 #if defined(USE_AURA) | 49 #if defined(USE_AURA) |
| 50 #include "ui/aura/test/window_event_dispatcher_test_api.h" | 50 #include "ui/aura/test/window_event_dispatcher_test_api.h" |
| 51 #include "ui/aura/window.h" | 51 #include "ui/aura/window.h" |
| 52 #include "ui/aura/window_event_dispatcher.h" | 52 #include "ui/aura/window_event_dispatcher.h" |
| 53 #include "ui/aura/window_tree_host.h" | 53 #include "ui/aura/window_tree_host.h" |
| 54 #endif // USE_AURA | 54 #endif // USE_AURA |
| 55 | 55 |
| 56 namespace content { | 56 namespace content { |
| (...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 | 972 |
| 973 bool WebContentsAddedObserver::RenderViewCreatedCalled() { | 973 bool WebContentsAddedObserver::RenderViewCreatedCalled() { |
| 974 if (child_observer_) { | 974 if (child_observer_) { |
| 975 return child_observer_->render_view_created_called_ && | 975 return child_observer_->render_view_created_called_ && |
| 976 child_observer_->main_frame_created_called_; | 976 child_observer_->main_frame_created_called_; |
| 977 } | 977 } |
| 978 return false; | 978 return false; |
| 979 } | 979 } |
| 980 | 980 |
| 981 } // namespace content | 981 } // namespace content |
| OLD | NEW |