OLD | NEW |
---|---|
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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
379 | 379 |
380 InspectorBackend.registerInspectorDispatcher(this); | 380 InspectorBackend.registerInspectorDispatcher(this); |
381 | 381 |
382 this.isolatedFileSystemManager = new WebInspector.IsolatedFileSystemManager( ); | 382 this.isolatedFileSystemManager = new WebInspector.IsolatedFileSystemManager( ); |
383 this.isolatedFileSystemDispatcher = new WebInspector.IsolatedFileSystemDispa tcher(this.isolatedFileSystemManager); | 383 this.isolatedFileSystemDispatcher = new WebInspector.IsolatedFileSystemDispa tcher(this.isolatedFileSystemManager); |
384 this.workspace = new WebInspector.Workspace(this.isolatedFileSystemManager.m apping()); | 384 this.workspace = new WebInspector.Workspace(this.isolatedFileSystemManager.m apping()); |
385 | 385 |
386 this.cssModel = new WebInspector.CSSStyleModel(this.workspace); | 386 this.cssModel = new WebInspector.CSSStyleModel(this.workspace); |
387 this.timelineManager = new WebInspector.TimelineManager(); | 387 this.timelineManager = new WebInspector.TimelineManager(); |
388 this.profileManager = new WebInspector.ProfileManager(); | 388 this.profileManager = new WebInspector.ProfileManager(); |
389 this.powerProfiler = new WebInspector.PowerProfiler(); | |
pfeldman
2014/01/09 11:38:52
Search for the following code and query for power
Pan
2014/02/24 09:49:47
thanks for your guide, done.
| |
390 | |
389 this.tracingAgent = new WebInspector.TracingAgent(); | 391 this.tracingAgent = new WebInspector.TracingAgent(); |
390 | 392 |
391 if (!WebInspector.WorkerManager.isWorkerFrontend()) | 393 if (!WebInspector.WorkerManager.isWorkerFrontend()) |
392 this.inspectElementModeController = new WebInspector.InspectElementModeC ontroller(); | 394 this.inspectElementModeController = new WebInspector.InspectElementModeC ontroller(); |
393 | 395 |
394 this.settingsController = new WebInspector.SettingsController(); | 396 this.settingsController = new WebInspector.SettingsController(); |
395 | 397 |
396 this.domBreakpointsSidebarPane = new WebInspector.DOMBreakpointsSidebarPane( ); | 398 this.domBreakpointsSidebarPane = new WebInspector.DOMBreakpointsSidebarPane( ); |
397 | 399 |
398 this._zoomLevel = WebInspector.settings.zoomLevel.get(); | 400 this._zoomLevel = WebInspector.settings.zoomLevel.get(); |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1011 | 1013 |
1012 /** | 1014 /** |
1013 * @return {string} | 1015 * @return {string} |
1014 */ | 1016 */ |
1015 WebInspector.getSelectionForegroundColor = function() | 1017 WebInspector.getSelectionForegroundColor = function() |
1016 { | 1018 { |
1017 return InspectorFrontendHost.getSelectionForegroundColor(); | 1019 return InspectorFrontendHost.getSelectionForegroundColor(); |
1018 } | 1020 } |
1019 | 1021 |
1020 window.DEBUG = true; | 1022 window.DEBUG = true; |
OLD | NEW |