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

Side by Side Diff: gm/rebaseline_server/static/constants.js

Issue 471033003: Fixing broken images (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed overly long lines Created 6 years, 4 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
« no previous file with comments | « gm/rebaseline_server/imagepair_test.py ('k') | gm/rebaseline_server/static/live-loader.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 * Constants used by our imagediff-viewing Javascript code. 2 * Constants used by our imagediff-viewing Javascript code.
3 */ 3 */
4 var module = angular.module( 4 var module = angular.module(
5 'ConstantsModule', 5 'ConstantsModule',
6 [] 6 []
7 ); 7 );
8 8
9 module.constant('constants', (function() { 9 module.constant('constants', (function() {
10 return { 10 return {
11 // NOTE: Keep these in sync with ../column.py 11 // NOTE: Keep these in sync with ../column.py
12 KEY__EXTRACOLUMNHEADERS__HEADER_TEXT: 'headerText', 12 KEY__EXTRACOLUMNHEADERS__HEADER_TEXT: 'headerText',
13 KEY__EXTRACOLUMNHEADERS__HEADER_URL: 'headerUrl', 13 KEY__EXTRACOLUMNHEADERS__HEADER_URL: 'headerUrl',
14 KEY__EXTRACOLUMNHEADERS__IS_FILTERABLE: 'isFilterable', 14 KEY__EXTRACOLUMNHEADERS__IS_FILTERABLE: 'isFilterable',
15 KEY__EXTRACOLUMNHEADERS__IS_SORTABLE: 'isSortable', 15 KEY__EXTRACOLUMNHEADERS__IS_SORTABLE: 'isSortable',
16 KEY__EXTRACOLUMNHEADERS__USE_FREEFORM_FILTER: 'useFreeformFilter', 16 KEY__EXTRACOLUMNHEADERS__USE_FREEFORM_FILTER: 'useFreeformFilter',
17 KEY__EXTRACOLUMNHEADERS__VALUES_AND_COUNTS: 'valuesAndCounts', 17 KEY__EXTRACOLUMNHEADERS__VALUES_AND_COUNTS: 'valuesAndCounts',
18 18
19 // NOTE: Keep these in sync with ../imagediffdb.py 19 // NOTE: Keep these in sync with ../imagediffdb.py
20 KEY__DIFFERENCES__MAX_DIFF_PER_CHANNEL: 'maxDiffPerChannel', 20 KEY__DIFFERENCES__MAX_DIFF_PER_CHANNEL: 'maxDiffPerChannel',
21 KEY__DIFFERENCES__NUM_DIFF_PIXELS: 'numDifferingPixels', 21 KEY__DIFFERENCES__NUM_DIFF_PIXELS: 'numDifferingPixels',
22 KEY__DIFFERENCES__PERCENT_DIFF_PIXELS: 'percentDifferingPixels', 22 KEY__DIFFERENCES__PERCENT_DIFF_PIXELS: 'percentDifferingPixels',
23 KEY__DIFFERENCES__PERCEPTUAL_DIFF: 'perceptualDifference', 23 KEY__DIFFERENCES__PERCEPTUAL_DIFF: 'perceptualDifference',
24 KEY__DIFFERENCES__DIFF_URL: 'diffUrl',
25 KEY__DIFFERENCES__WHITE_DIFF_URL: 'whiteDiffUrl',
24 26
25 // NOTE: Keep these in sync with ../imagepair.py 27 // NOTE: Keep these in sync with ../imagepair.py
26 KEY__IMAGEPAIRS__DIFFERENCES: 'differenceData', 28 KEY__IMAGEPAIRS__DIFFERENCES: 'differenceData',
27 KEY__IMAGEPAIRS__EXPECTATIONS: 'expectations', 29 KEY__IMAGEPAIRS__EXPECTATIONS: 'expectations',
28 KEY__IMAGEPAIRS__EXTRACOLUMNS: 'extraColumns', 30 KEY__IMAGEPAIRS__EXTRACOLUMNS: 'extraColumns',
29 KEY__IMAGEPAIRS__IMAGE_A_URL: 'imageAUrl', 31 KEY__IMAGEPAIRS__IMAGE_A_URL: 'imageAUrl',
30 KEY__IMAGEPAIRS__IMAGE_B_URL: 'imageBUrl', 32 KEY__IMAGEPAIRS__IMAGE_B_URL: 'imageBUrl',
31 KEY__IMAGEPAIRS__IS_DIFFERENT: 'isDifferent', 33 KEY__IMAGEPAIRS__IS_DIFFERENT: 'isDifferent',
32 34
33 // NOTE: Keep these in sync with ../imagepairset.py 35 // NOTE: Keep these in sync with ../imagepairset.py
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // These are just used on the client side, no need to sync with server code. 87 // These are just used on the client side, no need to sync with server code.
86 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan', 88 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan',
87 URL_KEY__SCHEMA_VERSION: 'urlSchemaVersion', 89 URL_KEY__SCHEMA_VERSION: 'urlSchemaVersion',
88 URL_VALUE__SCHEMA_VERSION__CURRENT: 1, 90 URL_VALUE__SCHEMA_VERSION__CURRENT: 1,
89 91
90 // Utility constants only used on the client side. 92 // Utility constants only used on the client side.
91 ASC: 'asc', 93 ASC: 'asc',
92 DESC: 'desc', 94 DESC: 'desc',
93 } 95 }
94 })()) 96 })())
OLDNEW
« no previous file with comments | « gm/rebaseline_server/imagepair_test.py ('k') | gm/rebaseline_server/static/live-loader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698