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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 2421913003: DevTools: allow reattaching main target live. (Closed)
Patch Set: link fixed Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 * @override 384 * @override
385 * @return {boolean} 385 * @return {boolean}
386 */ 386 */
387 isUnderTest: function() 387 isUnderTest: function()
388 { 388 {
389 return false; 389 return false;
390 }, 390 },
391 391
392 /** 392 /**
393 * @override 393 * @override
394 * @param {function()} callback
395 */
396 reattach: function(callback)
397 {
398 },
399
400 /**
401 * @override
394 */ 402 */
395 readyForTest: function() 403 readyForTest: function()
396 { 404 {
397 }, 405 },
398 406
399 /** 407 /**
400 * @override 408 * @override
401 * @param {boolean} discoverUsbDevices 409 * @param {boolean} discoverUsbDevices
402 * @param {boolean} portForwardingEnabled 410 * @param {boolean} portForwardingEnabled
403 * @param {!Adb.PortForwardingConfig} portForwardingConfig 411 * @param {!Adb.PortForwardingConfig} portForwardingConfig
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 // so the host instance should not initialized there. 564 // so the host instance should not initialized there.
557 initializeInspectorFrontendHost(); 565 initializeInspectorFrontendHost();
558 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl(); 566 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl();
559 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform()); 567 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform());
560 })(); 568 })();
561 569
562 /** 570 /**
563 * @type {!WebInspector.EventTarget} 571 * @type {!WebInspector.EventTarget}
564 */ 572 */
565 InspectorFrontendHost.events; 573 InspectorFrontendHost.events;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698