| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CString.h" | 7 #include "CString.h" |
| 8 #include "Document.h" | 8 #include "Document.h" |
| 9 #include "EventListener.h" | 9 #include "EventListener.h" |
| 10 #include "HTMLFrameOwnerElement.h" | 10 #include "HTMLFrameOwnerElement.h" |
| 11 #include "Node.h" | 11 #include "Node.h" |
| 12 #include "PlatformString.h" | 12 #include "PlatformString.h" |
| 13 #include "Text.h" | 13 #include "Text.h" |
| 14 #include <wtf/OwnPtr.h> | 14 #include <wtf/OwnPtr.h> |
| 15 #undef LOG | 15 #undef LOG |
| 16 | 16 |
| 17 #include "base/file_path.h" | 17 #include "base/file_path.h" |
| 18 #include "base/string_util.h" | 18 #include "base/string_util.h" |
| 19 #include "base/values.h" | 19 #include "base/values.h" |
| 20 #include "net/base/net_util.h" | 20 #include "net/base/net_util.h" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 22 #include "webkit/api/public/WebData.h" |
| 23 #include "webkit/api/public/WebURL.h" |
| 22 #include "webkit/glue/devtools/devtools_mock_rpc.h" | 24 #include "webkit/glue/devtools/devtools_mock_rpc.h" |
| 23 #include "webkit/glue/devtools/devtools_rpc.h" | 25 #include "webkit/glue/devtools/devtools_rpc.h" |
| 24 #include "webkit/glue/devtools/dom_agent_impl.h" | 26 #include "webkit/glue/devtools/dom_agent_impl.h" |
| 25 #include "webkit/glue/dom_operations.h" | 27 #include "webkit/glue/dom_operations.h" |
| 26 #include "webkit/glue/glue_util.h" | 28 #include "webkit/glue/glue_util.h" |
| 27 #include "webkit/glue/webframe.h" | 29 #include "webkit/glue/webframe.h" |
| 28 #include "webkit/glue/webframe_impl.h" | 30 #include "webkit/glue/webframe_impl.h" |
| 29 #include "webkit/glue/webview.h" | 31 #include "webkit/glue/webview.h" |
| 30 #include "webkit/tools/test_shell/test_shell_test.h" | 32 #include "webkit/tools/test_shell/test_shell_test.h" |
| 31 | 33 |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 OwnPtr<Value> v(DevToolsRpc::ParseMessage("[8,1,\"DIV\",\"\",[],0]")); | 453 OwnPtr<Value> v(DevToolsRpc::ParseMessage("[8,1,\"DIV\",\"\",[],0]")); |
| 452 mock_delegate_->ChildNodeInserted(7, 0, *v.get()); | 454 mock_delegate_->ChildNodeInserted(7, 0, *v.get()); |
| 453 mock_delegate_->Replay(); | 455 mock_delegate_->Replay(); |
| 454 | 456 |
| 455 RefPtr<Element> new_div = document_->createElement("DIV", ec_); | 457 RefPtr<Element> new_div = document_->createElement("DIV", ec_); |
| 456 inner_body->appendChild(new_div.get(), ec_, false); | 458 inner_body->appendChild(new_div.get(), ec_, false); |
| 457 mock_delegate_->Verify(); | 459 mock_delegate_->Verify(); |
| 458 } | 460 } |
| 459 | 461 |
| 460 } // namespace | 462 } // namespace |
| OLD | NEW |