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

Side by Side Diff: third_party/WebKit/Source/core/fileapi/FileReader.idl

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 [RaisesException] void readAsText(Blob blob, optional DOMString label); 46 [RaisesException] void readAsText(Blob blob, optional DOMString label);
47 [RaisesException] void readAsDataURL(Blob blob); 47 [RaisesException] void readAsDataURL(Blob blob);
48 48
49 void abort(); 49 void abort();
50 50
51 // states 51 // states
52 const unsigned short EMPTY = 0; 52 const unsigned short EMPTY = 0;
53 const unsigned short LOADING = 1; 53 const unsigned short LOADING = 1;
54 const unsigned short DONE = 2; 54 const unsigned short DONE = 2;
55 55
56 readonly attribute unsigned short readyState; 56 [ImplementedAs=getReadyState] readonly attribute unsigned short readyState;
57 57
58 // File or Blob data 58 // File or Blob data
59 readonly attribute (DOMString or ArrayBuffer)? result; 59 readonly attribute (DOMString or ArrayBuffer)? result;
60 60
61 // TODO(philipj): error should be DOMError. crbug.com/496901 61 // TODO(philipj): error should be DOMError. crbug.com/496901
62 [Measure] readonly attribute FileError? error; 62 [Measure] readonly attribute FileError? error;
63 63
64 // event handler attributes 64 // event handler attributes
65 attribute EventHandler onloadstart; 65 attribute EventHandler onloadstart;
66 attribute EventHandler onprogress; 66 attribute EventHandler onprogress;
67 attribute EventHandler onload; 67 attribute EventHandler onload;
68 attribute EventHandler onabort; 68 attribute EventHandler onabort;
69 attribute EventHandler onerror; 69 attribute EventHandler onerror;
70 attribute EventHandler onloadend; 70 attribute EventHandler onloadend;
71 }; 71 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReader.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698