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

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

Issue 355193005: Remove checkout functionality 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 }); 46 });
47 47
48 ui.actions.Close = base.extends(Action, { 48 ui.actions.Close = base.extends(Action, {
49 init: function() { 49 init: function() {
50 this.textContent = 'Close'; 50 this.textContent = 'Close';
51 this._eventName = 'close'; 51 this._eventName = 'close';
52 } 52 }
53 }); 53 });
54 54
55 ui.actions.Rollout = base.extends(Action, {
56 init: function() {
57 this.textContent = 'Roll out';
58 this._eventName = 'rollout';
59 this.title = 'Rolls out this revision.'
60 }
61 });
62
63 ui.actions.Examine = base.extends(Action, { 55 ui.actions.Examine = base.extends(Action, {
64 init: function() { 56 init: function() {
65 this.textContent = 'Examine'; 57 this.textContent = 'Examine';
66 this._eventName = 'examine'; 58 this._eventName = 'examine';
67 this.title = 'Examine these failures in detail.' 59 this.title = 'Examine these failures in detail.'
68 } 60 }
69 }); 61 });
70 62
71 ui.actions.ExpectFailure = base.extends(Action, { 63 ui.actions.ExpectFailure = base.extends(Action, {
72 init: function() { 64 init: function() {
(...skipping 27 matching lines...) Expand all
100 }, 92 },
101 add: function(action) 93 add: function(action)
102 { 94 {
103 var item = document.createElement('li'); 95 var item = document.createElement('li');
104 item.appendChild(action); 96 item.appendChild(action);
105 $(this).append(item); 97 $(this).append(item);
106 } 98 }
107 }); 99 });
108 100
109 })(); 101 })();
OLDNEW
« no previous file with comments | « Tools/GardeningServer/scripts/ui.js ('k') | Tools/GardeningServer/scripts/ui/actions_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698