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

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

Issue 33143002: DevTools: Unify filtering UI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 1 month 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/devtools/devtools.gyp ('k') | Source/devtools/front_end/ConsoleView.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) 2009 Joseph Pecoraro 2 * Copyright (C) 2009 Joseph Pecoraro
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 delete this._drawerWasVisible; 55 delete this._drawerWasVisible;
56 } 56 }
57 WebInspector.Panel.prototype.willHide.call(this); 57 WebInspector.Panel.prototype.willHide.call(this);
58 }, 58 },
59 59
60 searchCanceled: function() 60 searchCanceled: function()
61 { 61 {
62 this._view.searchCanceled(); 62 this._view.searchCanceled();
63 }, 63 },
64 64
65 canFilter: function()
66 {
67 return this._view.canFilter();
68 },
69
70 /** 65 /**
71 * @param {string} query 66 * @param {string} query
72 * @param {boolean} shouldJump 67 * @param {boolean} shouldJump
73 */ 68 */
74 performSearch: function(query, shouldJump) 69 performSearch: function(query, shouldJump)
75 { 70 {
76 this._view.performSearch(query, shouldJump, this); 71 this._view.performSearch(query, shouldJump, this);
77 }, 72 },
78 73
79 /**
80 * @param {string} query
81 */
82 performFilter: function(query)
83 {
84 this._view.performFilter(query);
85 },
86
87 jumpToNextSearchResult: function() 74 jumpToNextSearchResult: function()
88 { 75 {
89 this._view.jumpToNextSearchResult(this); 76 this._view.jumpToNextSearchResult(this);
90 }, 77 },
91 78
92 jumpToPreviousSearchResult: function() 79 jumpToPreviousSearchResult: function()
93 { 80 {
94 this._view.jumpToPreviousSearchResult(this); 81 this._view.jumpToPreviousSearchResult(this);
95 }, 82 },
96 83
97 __proto__: WebInspector.Panel.prototype 84 __proto__: WebInspector.Panel.prototype
98 } 85 }
OLDNEW
« no previous file with comments | « Source/devtools/devtools.gyp ('k') | Source/devtools/front_end/ConsoleView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698