| OLD | NEW |
| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 }); | 61 }); |
| 62 | 62 |
| 63 ui.actions.Examine = base.extends(Action, { | 63 ui.actions.Examine = base.extends(Action, { |
| 64 init: function() { | 64 init: function() { |
| 65 this.textContent = 'Examine'; | 65 this.textContent = 'Examine'; |
| 66 this._eventName = 'examine'; | 66 this._eventName = 'examine'; |
| 67 this.title = 'Examine these failures in detail.' | 67 this.title = 'Examine these failures in detail.' |
| 68 } | 68 } |
| 69 }); | 69 }); |
| 70 | 70 |
| 71 ui.actions.Rebaseline = base.extends(Action, { | |
| 72 init: function() { | |
| 73 this.textContent = 'Rebaseline'; | |
| 74 this._eventName = 'rebaseline'; | |
| 75 } | |
| 76 }); | |
| 77 | |
| 78 ui.actions.ExpectFailure = base.extends(Action, { | 71 ui.actions.ExpectFailure = base.extends(Action, { |
| 79 init: function() { | 72 init: function() { |
| 80 this.textContent = 'Expect Failure'; | 73 this.textContent = 'Expect Failure'; |
| 81 this._eventName = 'expectfailure'; | 74 this._eventName = 'expectfailure'; |
| 82 } | 75 } |
| 83 }); | 76 }); |
| 84 | 77 |
| 85 ui.actions.Next = base.extends(Action, { | 78 ui.actions.Next = base.extends(Action, { |
| 86 init: function() { | 79 init: function() { |
| 87 this.innerHTML = '▶'; | 80 this.innerHTML = '▶'; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 107 }, | 100 }, |
| 108 add: function(action) | 101 add: function(action) |
| 109 { | 102 { |
| 110 var item = document.createElement('li'); | 103 var item = document.createElement('li'); |
| 111 item.appendChild(action); | 104 item.appendChild(action); |
| 112 $(this).append(item); | 105 $(this).append(item); |
| 113 } | 106 } |
| 114 }); | 107 }); |
| 115 | 108 |
| 116 })(); | 109 })(); |
| OLD | NEW |