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

Unified Diff: webkit/glue/webview_impl.cc

Issue 258010: Reverting 27759. (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/webkitclient_impl.cc ('k') | webkit/webkit.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.cc
===================================================================
--- webkit/glue/webview_impl.cc (revision 27849)
+++ webkit/glue/webview_impl.cc (working copy)
@@ -132,7 +132,9 @@
// for some programs that use HTML views to display things that don't seem like
// web pages to the user (so shouldn't have visited link coloring). We only use
// one page group.
-static const char* kPageGroupName = "default";
+// FIXME: This needs to go into the WebKit API implementation and be hidden
+// from the API's users.
+const char* pageGroupName = "default";
// Ensure that the WebKit::WebDragOperation enum values stay in sync with
// the original WebCore::DragOperation constants.
@@ -362,13 +364,13 @@
// static
void WebView::UpdateVisitedLinkState(uint64 link_hash) {
WebCore::Page::visitedStateChanged(
- WebCore::PageGroup::pageGroup(kPageGroupName), link_hash);
+ WebCore::PageGroup::pageGroup(pageGroupName), link_hash);
}
// static
void WebView::ResetVisitedLinkState() {
WebCore::Page::allVisitedStateChanged(
- WebCore::PageGroup::pageGroup(kPageGroupName));
+ WebCore::PageGroup::pageGroup(pageGroupName));
}
WebViewImpl::WebViewImpl(WebViewDelegate* delegate)
@@ -414,7 +416,7 @@
NULL));
page_->backForwardList()->setClient(&back_forward_list_client_impl_);
- page_->setGroupName(kPageGroupName);
+ page_->setGroupName(pageGroupName);
}
WebViewImpl::~WebViewImpl() {
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698