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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network_conditions/module.json

Issue 2668413003: DevTools: extract NetworkConditionsSelector into its own module (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/devtools/front_end/network_conditions/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/network_conditions/module.json b/third_party/WebKit/Source/devtools/front_end/network_conditions/module.json
new file mode 100644
index 0000000000000000000000000000000000000000..2c2575a303d67671a58dd8b56124879bccdb4a76
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/network_conditions/module.json
@@ -0,0 +1,49 @@
+{
+ "extensions": [
+ {
+ "type": "view",
+ "location": "settings-view",
+ "id": "network-conditions",
+ "title": "Throttling",
+ "order": "35",
+ "className": "NetworkConditions.NetworkConditionsSettingsTab",
+ "settings": [
+ "customNetworkConditions"
+ ]
+ },
+ {
+ "type": "@UI.ActionDelegate",
+ "actionId": "components.network-offline",
+ "category": "Network",
+ "title": "Go offline",
+ "className": "NetworkConditions.NetworkConditionsActionDelegate",
+ "tags": "device"
+ },
+ {
+ "type": "@UI.ActionDelegate",
+ "actionId": "components.network-online",
+ "category": "Network",
+ "title": "Go online",
+ "className": "NetworkConditions.NetworkConditionsActionDelegate",
+ "tags": "device"
+ },
+ {
+ "type": "setting",
+ "settingName": "customNetworkConditions",
+ "settingType": "array",
+ "defaultValue": []
+ }
+ ],
+ "dependencies": [
+ "common",
+ "sdk",
+ "ui",
+ "protocol"
+ ],
+ "scripts": [
+ "NetworkConditionsSelector.js"
+ ],
+ "resources": [
+ "networkConditionsSettingsTab.css"
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698