OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 InspectorBackend.registerPageDispatcher(new WebInspector.PageDispatcher(this
)); | 49 InspectorBackend.registerPageDispatcher(new WebInspector.PageDispatcher(this
)); |
50 | 50 |
51 this._pendingConsoleMessages = {}; | 51 this._pendingConsoleMessages = {}; |
52 this._securityOriginFrameCount = {}; | 52 this._securityOriginFrameCount = {}; |
53 } | 53 } |
54 | 54 |
55 WebInspector.ResourceTreeModel.EventTypes = { | 55 WebInspector.ResourceTreeModel.EventTypes = { |
56 FrameAdded: "FrameAdded", | 56 FrameAdded: "FrameAdded", |
57 FrameNavigated: "FrameNavigated", | 57 FrameNavigated: "FrameNavigated", |
58 FrameDetached: "FrameDetached", | 58 FrameDetached: "FrameDetached", |
| 59 FrameResized: "FrameResized", |
59 MainFrameNavigated: "MainFrameNavigated", | 60 MainFrameNavigated: "MainFrameNavigated", |
60 MainFrameCreatedOrNavigated: "MainFrameCreatedOrNavigated", | 61 MainFrameCreatedOrNavigated: "MainFrameCreatedOrNavigated", |
61 ResourceAdded: "ResourceAdded", | 62 ResourceAdded: "ResourceAdded", |
62 WillLoadCachedResources: "WillLoadCachedResources", | 63 WillLoadCachedResources: "WillLoadCachedResources", |
63 CachedResourcesLoaded: "CachedResourcesLoaded", | 64 CachedResourcesLoaded: "CachedResourcesLoaded", |
64 DOMContentLoaded: "DOMContentLoaded", | 65 DOMContentLoaded: "DOMContentLoaded", |
65 Load: "Load", | 66 Load: "Load", |
66 InspectedURLChanged: "InspectedURLChanged", | 67 InspectedURLChanged: "InspectedURLChanged", |
67 SecurityOriginAdded: "SecurityOriginAdded", | 68 SecurityOriginAdded: "SecurityOriginAdded", |
68 SecurityOriginRemoved: "SecurityOriginRemoved", | 69 SecurityOriginRemoved: "SecurityOriginRemoved", |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 }, | 695 }, |
695 | 696 |
696 frameScheduledNavigation: function(frameId, delay) | 697 frameScheduledNavigation: function(frameId, delay) |
697 { | 698 { |
698 }, | 699 }, |
699 | 700 |
700 frameClearedScheduledNavigation: function(frameId) | 701 frameClearedScheduledNavigation: function(frameId) |
701 { | 702 { |
702 }, | 703 }, |
703 | 704 |
| 705 frameResized: function() |
| 706 { |
| 707 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.FrameResized, null); |
| 708 }, |
| 709 |
704 javascriptDialogOpening: function(message) | 710 javascriptDialogOpening: function(message) |
705 { | 711 { |
706 }, | 712 }, |
707 | 713 |
708 javascriptDialogClosed: function() | 714 javascriptDialogClosed: function() |
709 { | 715 { |
710 }, | 716 }, |
711 | 717 |
712 scriptsEnabled: function(isEnabled) | 718 scriptsEnabled: function(isEnabled) |
713 { | 719 { |
(...skipping 19 matching lines...) Expand all Loading... |
733 screencastVisibilityChanged: function(visible) | 739 screencastVisibilityChanged: function(visible) |
734 { | 740 { |
735 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ScreencastVisibilityChanged, {visible:visible}); | 741 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ScreencastVisibilityChanged, {visible:visible}); |
736 } | 742 } |
737 } | 743 } |
738 | 744 |
739 /** | 745 /** |
740 * @type {WebInspector.ResourceTreeModel} | 746 * @type {WebInspector.ResourceTreeModel} |
741 */ | 747 */ |
742 WebInspector.resourceTreeModel = null; | 748 WebInspector.resourceTreeModel = null; |
OLD | NEW |