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

Side by Side Diff: Tools/GardeningServer/scripts/ui/actions.js

Issue 358173003: Remove rebaseline logic from GOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 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
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
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 })();
OLDNEW
« no previous file with comments | « Tools/GardeningServer/scripts/model_unittests.js ('k') | Tools/GardeningServer/scripts/ui/actions_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698