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

Side by Side Diff: Source/devtools/front_end/main/Main.js

Issue 651783004: DevTools: REGRESSION: can not copy Link address in console (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for landing Created 6 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/toolbox_bootstrap/Toolbox.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 { 190 {
191 WebInspector.setToolbarColors(/** @type {string} */ (event.data["bac kgroundColor"]), /** @type {string} */ (event.data["color"])); 191 WebInspector.setToolbarColors(/** @type {string} */ (event.data["bac kgroundColor"]), /** @type {string} */ (event.data["color"]));
192 } 192 }
193 193
194 this._addMainEventListeners(document); 194 this._addMainEventListeners(document);
195 195
196 var canDock = !!Runtime.queryParam("can_dock"); 196 var canDock = !!Runtime.queryParam("can_dock");
197 WebInspector.zoomManager = new WebInspector.ZoomManager(InspectorFronten dHost); 197 WebInspector.zoomManager = new WebInspector.ZoomManager(InspectorFronten dHost);
198 WebInspector.inspectorView = new WebInspector.InspectorView(); 198 WebInspector.inspectorView = new WebInspector.InspectorView();
199 WebInspector.ContextMenu.initialize(); 199 WebInspector.ContextMenu.initialize();
200 WebInspector.ContextMenu.installHandler(document);
200 WebInspector.dockController = new WebInspector.DockController(canDock); 201 WebInspector.dockController = new WebInspector.DockController(canDock);
201 WebInspector.overridesSupport = new WebInspector.OverridesSupport(canDoc k); 202 WebInspector.overridesSupport = new WebInspector.OverridesSupport(canDoc k);
202 WebInspector.multitargetConsoleModel = new WebInspector.MultitargetConso leModel(); 203 WebInspector.multitargetConsoleModel = new WebInspector.MultitargetConso leModel();
203 204
204 WebInspector.shortcutsScreen = new WebInspector.ShortcutsScreen(); 205 WebInspector.shortcutsScreen = new WebInspector.ShortcutsScreen();
205 // set order of some sections explicitly 206 // set order of some sections explicitly
206 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); 207 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console"));
207 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan el")); 208 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan el"));
208 209
209 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy stemManager(); 210 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy stemManager();
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 /** 869 /**
869 * @param {!WebInspector.Event} event 870 * @param {!WebInspector.Event} event
870 */ 871 */
871 _inspectNode: function(event) 872 _inspectNode: function(event)
872 { 873 {
873 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); 874 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data));
874 } 875 }
875 } 876 }
876 877
877 new WebInspector.Main(); 878 new WebInspector.Main();
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/toolbox_bootstrap/Toolbox.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698