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

Unified Diff: webkit/glue/webkit_glue.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/webkit_glue.h ('k') | webkit/glue/webplugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_glue.cc
===================================================================
--- webkit/glue/webkit_glue.cc (revision 22886)
+++ webkit/glue/webkit_glue.cc (working copy)
@@ -49,6 +49,7 @@
#include "webkit_version.h" // Generated
+using WebKit::WebFrame;
using WebKit::WebHistoryItem;
using WebKit::WebString;
using WebKit::WebVector;
@@ -90,10 +91,10 @@
std::wstring result;
// Add header for all but the main frame. Skip empty frames.
- if (webFrameImpl->GetParent() &&
+ if (webFrameImpl->parent() &&
webFrameImpl->frame()->document()->documentElement()) {
result.append(L"\n--------\nFrame: '");
- result.append(webFrameImpl->GetName());
+ result.append(UTF16ToWideHack(webFrameImpl->name()));
result.append(L"'\n--------\n");
}
@@ -126,7 +127,7 @@
std::wstring result;
if (offset.width() > 0 || offset.height() > 0) {
- if (webFrameImpl->GetParent()) {
+ if (webFrameImpl->parent()) {
StringAppendF(&result, L"frame '%ls' ", StringToStdWString(
webFrameImpl->frame()->tree()->name()).c_str());
}
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | webkit/glue/webplugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698