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

Unified Diff: webkit/glue/webframe_impl.cc

Issue 251051: Move various methods from glue/webview.h to api/public/WebView.h... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/mimetype_unittest.cc ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframe_impl.cc
===================================================================
--- webkit/glue/webframe_impl.cc (revision 27616)
+++ webkit/glue/webframe_impl.cc (working copy)
@@ -1643,7 +1643,7 @@
frame_->setView(view);
- if (web_view->GetIsTransparent())
+ if (web_view->isTransparent())
view->setTransparent(true);
// TODO(darin): The Mac code has a comment about this possibly being
@@ -1827,14 +1827,12 @@
int WebFrameImpl::OrdinalOfFirstMatchForFrame(WebFrameImpl* frame) const {
int ordinal = 0;
- WebViewImpl* web_view = GetWebViewImpl();
- WebFrameImpl* const main_frame_impl = GetWebViewImpl()->main_frame();
+ WebFrameImpl* main_frame_impl = GetWebViewImpl()->main_frame();
// Iterate from the main frame up to (but not including) |frame| and
// add up the number of matches found so far.
for (WebFrameImpl* it = main_frame_impl;
it != frame;
- it = static_cast<WebFrameImpl*>(
- web_view->GetNextFrameAfter(it, true))) {
+ it = static_cast<WebFrameImpl*>(it->traverseNext(true))) {
if (it->last_match_count_ > 0)
ordinal += it->last_match_count_;
}
« no previous file with comments | « webkit/glue/mimetype_unittest.cc ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698