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

Side by Side Diff: Source/devtools/front_end/sdk/ResourceTreeModel.js

Issue 1180843006: [DevTools] Add dialog type and return value to Page.javascriptDialog{Opening,Closed}. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: frontend Created 5 years, 6 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 | « Source/core/page/ChromeClient.cpp ('k') | Source/devtools/protocol.json » ('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) 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 * @override 859 * @override
860 */ 860 */
861 frameResized: function() 861 frameResized: function()
862 { 862 {
863 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr eeModel.EventTypes.FrameResized, null); 863 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr eeModel.EventTypes.FrameResized, null);
864 }, 864 },
865 865
866 /** 866 /**
867 * @override 867 * @override
868 * @param {string} message 868 * @param {string} message
869 * @param {string} dialogType
869 */ 870 */
870 javascriptDialogOpening: function(message) 871 javascriptDialogOpening: function(message, dialogType)
871 { 872 {
872 }, 873 },
873 874
874 /** 875 /**
875 * @override 876 * @override
877 * @param {boolean} result
876 */ 878 */
877 javascriptDialogClosed: function() 879 javascriptDialogClosed: function(result)
878 { 880 {
879 }, 881 },
880 882
881 /** 883 /**
882 * @override 884 * @override
883 * @param {string} data 885 * @param {string} data
884 * @param {!PageAgent.ScreencastFrameMetadata=} metadata 886 * @param {!PageAgent.ScreencastFrameMetadata=} metadata
885 * @param {number=} frameNumber 887 * @param {number=} frameNumber
886 */ 888 */
887 screencastFrame: function(data, metadata, frameNumber) 889 screencastFrame: function(data, metadata, frameNumber)
(...skipping 28 matching lines...) Expand all
916 }, 918 },
917 919
918 /** 920 /**
919 * @override 921 * @override
920 */ 922 */
921 interstitialHidden: function() 923 interstitialHidden: function()
922 { 924 {
923 // Frontend is not interested in interstitials. 925 // Frontend is not interested in interstitials.
924 } 926 }
925 } 927 }
OLDNEW
« no previous file with comments | « Source/core/page/ChromeClient.cpp ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698