summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r--webkit/glue/webview_impl.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 8774069..945bfbc 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -132,7 +132,9 @@ static const double kMaxTextSizeMultiplier = 3.0;
// 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 @@ void WebViewImpl::initializeMainFrame(WebFrameClient* frame_client) {
// 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 @@ WebViewImpl::WebViewImpl(WebViewDelegate* delegate)
NULL));
page_->backForwardList()->setClient(&back_forward_list_client_impl_);
- page_->setGroupName(kPageGroupName);
+ page_->setGroupName(pageGroupName);
}
WebViewImpl::~WebViewImpl() {