| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview Basic facillities to handle events from a single automation | 6 * @fileoverview Basic facillities to handle events from a single automation |
| 7 * node. | 7 * node. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 goog.provide('BaseAutomationHandler'); | 10 goog.provide('BaseAutomationHandler'); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 /** | 70 /** |
| 71 * Called before the event |evt| is handled. | 71 * Called before the event |evt| is handled. |
| 72 * @return {boolean} True to skip processing this event. | 72 * @return {boolean} True to skip processing this event. |
| 73 * @protected | 73 * @protected |
| 74 */ | 74 */ |
| 75 willHandleEvent_: function(evt) { | 75 willHandleEvent_: function(evt) { |
| 76 return false; | 76 return false; |
| 77 }, | 77 }, |
| 78 | 78 |
| 79 /** | 79 /** |
| 80 * Called after the event |evt| is handled. | 80 * Called after the event |evt| is handled. |
| 81 * @protected | 81 * @protected |
| 82 */ | 82 */ |
| 83 didHandleEvent_: function(evt) { | 83 didHandleEvent_: function(evt) {} |
| 84 } | |
| 85 }; | 84 }; |
| 86 | 85 |
| 87 }); // goog.scope | 86 }); // goog.scope |
| OLD | NEW |