Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: webkit/glue/devtools/dom_agent_unittest.cc

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/devtools/devtools_rpc_js.h ('k') | webkit/glue/dom_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/dom_agent_unittest.cc
===================================================================
--- webkit/glue/devtools/dom_agent_unittest.cc (revision 22886)
+++ webkit/glue/devtools/dom_agent_unittest.cc (working copy)
@@ -20,13 +20,13 @@
#include "net/base/net_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/api/public/WebData.h"
+#include "webkit/api/public/WebFrame.h"
#include "webkit/api/public/WebURL.h"
#include "webkit/glue/devtools/devtools_mock_rpc.h"
#include "webkit/glue/devtools/devtools_rpc.h"
#include "webkit/glue/devtools/dom_agent_impl.h"
#include "webkit/glue/dom_operations.h"
#include "webkit/glue/glue_util.h"
-#include "webkit/glue/webframe.h"
#include "webkit/glue/webframe_impl.h"
#include "webkit/glue/webview.h"
#include "webkit/tools/test_shell/test_shell_test.h"
@@ -38,6 +38,7 @@
using WebCore::Node;
using WebCore::String;
using WebCore::Text;
+using WebKit::WebFrame;
namespace {
@@ -61,7 +62,7 @@
test_shell_->ResetTestController();
GURL file_url = net::FilePathToFileURL(data_dir_);
WebFrame* main_frame = test_shell_->webView()->GetMainFrame();
- main_frame->LoadHTMLString("<html> <head> </head> <body> </body> </html>",
+ main_frame->loadHTMLString("<html> <head> </head> <body> </body> </html>",
file_url);
WebFrameImpl* main_frame_impl = static_cast<WebFrameImpl*>(main_frame);
« no previous file with comments | « webkit/glue/devtools/devtools_rpc_js.h ('k') | webkit/glue/dom_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698