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

Side by Side Diff: Source/WebCore/inspector/front-end/InspectorFrontendAPI.js

Issue 10963058: Merge 129348 - Web Inspector: [REGRESSION] Cmd-Shift-C doesn't enable element inspection mode when … (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/inspector.js » ('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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 WebInspector.showPanel("resources"); 94 WebInspector.showPanel("resources");
95 }, 95 },
96 96
97 setDockingUnavailable: function(unavailable) 97 setDockingUnavailable: function(unavailable)
98 { 98 {
99 WebInspector.setDockingUnavailable(unavailable); 99 WebInspector.setDockingUnavailable(unavailable);
100 }, 100 },
101 101
102 enterInspectElementMode: function() 102 enterInspectElementMode: function()
103 { 103 {
104 WebInspector.panel("elements").toggleSearchingForNode(); 104 WebInspector.toggleSearchingForNode();
105 }, 105 },
106 106
107 savedURL: function(url) 107 savedURL: function(url)
108 { 108 {
109 WebInspector.fileManager.savedURL(url); 109 WebInspector.fileManager.savedURL(url);
110 }, 110 },
111 111
112 appendedToURL: function(url) 112 appendedToURL: function(url)
113 { 113 {
114 WebInspector.fileManager.appendedToURL(url); 114 WebInspector.fileManager.appendedToURL(url);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 159 }
160 160
161 if (window.opener) { 161 if (window.opener) {
162 function onMessageFromOpener(event) 162 function onMessageFromOpener(event)
163 { 163 {
164 if (event.source === window.opener) 164 if (event.source === window.opener)
165 InspectorFrontendAPI.dispatch(event.data); 165 InspectorFrontendAPI.dispatch(event.data);
166 } 166 }
167 window.addEventListener("message", onMessageFromOpener, true); 167 window.addEventListener("message", onMessageFromOpener, true);
168 } 168 }
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/inspector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698