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

Side by Side Diff: Source/devtools/front_end/OverridesSupport.js

Issue 206313004: DevTools: Rename WebInspector.DOMAgent into WebInspector.DOMModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 9 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 var deviceOrientation = WebInspector.OverridesSupport.DeviceOrientation. parseSetting(WebInspector.settings.deviceOrientationOverride.get()); 525 var deviceOrientation = WebInspector.OverridesSupport.DeviceOrientation. parseSetting(WebInspector.settings.deviceOrientationOverride.get());
526 PageAgent.setDeviceOrientationOverride(deviceOrientation.alpha, deviceOr ientation.beta, deviceOrientation.gamma); 526 PageAgent.setDeviceOrientationOverride(deviceOrientation.alpha, deviceOr ientation.beta, deviceOrientation.gamma);
527 this.maybeHasActiveOverridesChanged(); 527 this.maybeHasActiveOverridesChanged();
528 }, 528 },
529 529
530 _emulateTouchEventsChanged: function() 530 _emulateTouchEventsChanged: function()
531 { 531 {
532 if (WebInspector.OverridesSupport.isInspectingDevice() && WebInspector.s ettings.emulateTouchEvents.get()) 532 if (WebInspector.OverridesSupport.isInspectingDevice() && WebInspector.s ettings.emulateTouchEvents.get())
533 return; 533 return;
534 534
535 WebInspector.domAgent.emulateTouchEventObjects(WebInspector.settings.emu lateTouchEvents.get()); 535 WebInspector.domModel.emulateTouchEventObjects(WebInspector.settings.emu lateTouchEvents.get());
536 this.maybeHasActiveOverridesChanged(); 536 this.maybeHasActiveOverridesChanged();
537 }, 537 },
538 538
539 _cssMediaChanged: function() 539 _cssMediaChanged: function()
540 { 540 {
541 PageAgent.setEmulatedMedia(WebInspector.settings.overrideCSSMedia.get() ? WebInspector.settings.emulatedCSSMedia.get() : ""); 541 PageAgent.setEmulatedMedia(WebInspector.settings.overrideCSSMedia.get() ? WebInspector.settings.emulatedCSSMedia.get() : "");
542 WebInspector.cssModel.mediaQueryResultChanged(); 542 WebInspector.cssModel.mediaQueryResultChanged();
543 this.maybeHasActiveOverridesChanged(); 543 this.maybeHasActiveOverridesChanged();
544 }, 544 },
545 545
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 }, 595 },
596 596
597 __proto__: WebInspector.Object.prototype 597 __proto__: WebInspector.Object.prototype
598 } 598 }
599 599
600 600
601 /** 601 /**
602 * @type {!WebInspector.OverridesSupport} 602 * @type {!WebInspector.OverridesSupport}
603 */ 603 */
604 WebInspector.overridesSupport; 604 WebInspector.overridesSupport;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ObjectPopoverHelper.js ('k') | Source/devtools/front_end/PlatformFontsSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698