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

Unified Diff: Source/devtools/protocol.json

Issue 23537022: Add navigation controls to DevTools screencast view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 2ceec971b917e01a09d71f3c6894fd400e758aba..952534edf1aa3370be44ecef5336495f2ad87619 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -184,6 +184,16 @@
"type": "string",
"description": "Unique script identifier.",
"hidden": true
+ },
+ {
+ "id": "NavigationHistoryEntry",
pfeldman 2013/09/05 11:34:13 NavigationEntry
Vladislav Kaznacheev 2013/09/05 12:53:55 Done.
+ "type": "object",
+ "description": "Navigation history entry.",
+ "properties": [
+ { "name": "url", "type": "string", "description": "Navigation history entry url." },
+ { "name": "title", "type": "string", "description": "Navigation history entry title." }
+ ],
+ "hidden": true
}
],
"commands": [
@@ -229,6 +239,24 @@
"description": "Navigates current page to the given URL."
},
{
+ "name": "getNavigationHistory",
+ "parameters": [],
+ "returns": [
+ { "name": "currentIndex", "type": "integer", "description": "Index of the current navigation history entry." },
+ { "name": "entries", "type": "array", "items": { "$ref": "NavigationHistoryEntry"}, "description": "Array of navigation history entries." }
+ ],
+ "description": "Returns navigation history for the current page.",
+ "hidden": true
+ },
+ {
+ "name": "navigateToHistoryEntry",
+ "parameters": [
+ { "name": "index", "type": "integer", "description": "Index of the navigation history entry." }
pfeldman 2013/09/05 11:34:13 Index is not identifying the entry properly.
Vladislav Kaznacheev 2013/09/05 12:53:55 Replaced with unique id On 2013/09/05 11:34:13, pf
+ ],
+ "description": "Navigates current page to the given history entry.",
+ "hidden": true
+ },
+ {
"name": "getCookies",
"returns": [
{ "name": "cookies", "type": "array", "items": { "$ref": "Cookie"}, "description": "Array of cookie objects." },
« Source/devtools/front_end/ScreencastView.js ('K') | « Source/devtools/front_end/screencastView.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698