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

Unified Diff: Source/core/page/Page.cpp

Issue 15179002: Remove code that is unused after ContextMenu cleanup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove canHandleRequest code from DRT Created 7 years, 7 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/core/page/Page.h ('k') | Source/core/page/Settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index f55a559130332abc878f716ac5416d9d9cbbf322..6df30ea7bfeeaf6d1265d91544838e4505ef8bd3 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -279,17 +279,6 @@ bool Page::goForward()
return false;
}
-bool Page::canGoBackOrForward(int distance) const
-{
- if (distance == 0)
- return true;
- if (distance > 0 && distance <= backForward()->forwardCount())
- return true;
- if (distance < 0 && -distance <= backForward()->backCount())
- return true;
- return false;
-}
-
void Page::goBackOrForward(int distance)
{
if (distance == 0)
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/page/Settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698