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

Unified Diff: Source/WebCore/page/PageVisibilityState.cpp

Issue 7121007: Merge 88174 - 2011-06-06 Shishir Agrawal <shishir@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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 | « Source/WebCore/page/PageVisibilityState.h ('k') | Source/WebKit/chromium/ChangeLog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/PageVisibilityState.cpp
===================================================================
--- Source/WebCore/page/PageVisibilityState.cpp (revision 88229)
+++ Source/WebCore/page/PageVisibilityState.cpp (working copy)
@@ -39,12 +39,15 @@
{
DEFINE_STATIC_LOCAL(const String, visible, ("visible"));
DEFINE_STATIC_LOCAL(const String, hidden, ("hidden"));
+ DEFINE_STATIC_LOCAL(const String, prerender, ("prerender"));
switch (state) {
case PageVisibilityStateVisible:
return visible;
case PageVisibilityStateHidden:
return hidden;
+ case PageVisibilityStatePrerender:
+ return prerender;
}
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/WebCore/page/PageVisibilityState.h ('k') | Source/WebKit/chromium/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698