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

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

Issue 9968120: Merge 112992 - Web Inspector: "Pause on start" doesn't change checked state in workers panel (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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/CSSSelectorProfileView.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 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 10 *
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 * @param {Event} event 369 * @param {Event} event
370 */ 370 */
371 _onKeyDown: function(event) 371 _onKeyDown: function(event)
372 { 372 {
373 switch (event.keyCode) { 373 switch (event.keyCode) {
374 case WebInspector.KeyboardShortcut.Keys.Enter.code: 374 case WebInspector.KeyboardShortcut.Keys.Enter.code:
375 this._onAction(); 375 this._onAction();
376 break; 376 break;
377 case WebInspector.KeyboardShortcut.Keys.Esc.code: 377 case WebInspector.KeyboardShortcut.Keys.Esc.code:
378 this._controller.close(); 378 this._controller.close();
379 event.consume(); 379 event.consume(true);
380 break; 380 break;
381 } 381 }
382 }, 382 },
383 383
384 _save: function() 384 _save: function()
385 { 385 {
386 var searchConfig = new WebInspector.SearchConfig(this.searchConfig.query , this.searchConfig.ignoreCase, this.searchConfig.isRegex); 386 var searchConfig = new WebInspector.SearchConfig(this.searchConfig.query , this.searchConfig.ignoreCase, this.searchConfig.isRegex);
387 WebInspector.settings.advancedSearchConfig.set(searchConfig); 387 WebInspector.settings.advancedSearchConfig.set(searchConfig);
388 }, 388 },
389 389
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 */ 695 */
696 WebInspector.FileBasedSearchResultsPane.SearchResult = function(file, searchMatc hes) { 696 WebInspector.FileBasedSearchResultsPane.SearchResult = function(file, searchMatc hes) {
697 this.file = file; 697 this.file = file;
698 this.searchMatches = searchMatches; 698 this.searchMatches = searchMatches;
699 } 699 }
700 700
701 /** 701 /**
702 * @type {WebInspector.AdvancedSearchController} 702 * @type {WebInspector.AdvancedSearchController}
703 */ 703 */
704 WebInspector.advancedSearchController = null; 704 WebInspector.advancedSearchController = null;
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/CSSSelectorProfileView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698