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

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

Issue 660483002: DevTools: Fix focus handling in debug mode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/ui/UIUtils.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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 else if (extensions[i].descriptor()["location"] === "toolbar-rig ht") 120 else if (extensions[i].descriptor()["location"] === "toolbar-rig ht")
121 WebInspector.inspectorView.appendToRightToolbar(item); 121 WebInspector.inspectorView.appendToRightToolbar(item);
122 } 122 }
123 } 123 }
124 }, 124 },
125 125
126 _loaded: function() 126 _loaded: function()
127 { 127 {
128 console.timeStamp("Main._loaded"); 128 console.timeStamp("Main._loaded");
129 129
130 WebInspector.initializeUIUtils();
130 this._createSettings(); 131 this._createSettings();
131 this._createAppUI(); 132 this._createAppUI();
132 }, 133 },
133 134
134 _createSettings: function() 135 _createSettings: function()
135 { 136 {
136 WebInspector.settings = new WebInspector.Settings(); 137 WebInspector.settings = new WebInspector.Settings();
137 this._initializeExperiments(); 138 this._initializeExperiments();
138 139
139 // This setting is needed for backwards compatibility with Devtools Code School extension. DO NOT REMOVE 140 // This setting is needed for backwards compatibility with Devtools Code School extension. DO NOT REMOVE
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 /** 867 /**
867 * @param {!WebInspector.Event} event 868 * @param {!WebInspector.Event} event
868 */ 869 */
869 _inspectNode: function(event) 870 _inspectNode: function(event)
870 { 871 {
871 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); 872 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data));
872 } 873 }
873 } 874 }
874 875
875 new WebInspector.Main(); 876 new WebInspector.Main();
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698