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

Side by Side Diff: public/web/WebDOMError.h

Issue 326573002: Remove public web methods using toV8 with empty context. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « public/web/WebBlob.h ('k') | public/web/WebDOMFileSystem.h » ('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 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 BLINK_EXPORT static WebDOMError create(const WebString& name, const WebStrin g& message); 61 BLINK_EXPORT static WebDOMError create(const WebString& name, const WebStrin g& message);
62 62
63 BLINK_EXPORT void reset(); 63 BLINK_EXPORT void reset();
64 BLINK_EXPORT void assign(const WebDOMError&); 64 BLINK_EXPORT void assign(const WebDOMError&);
65 65
66 BLINK_EXPORT WebString name() const; 66 BLINK_EXPORT WebString name() const;
67 BLINK_EXPORT WebString message() const; 67 BLINK_EXPORT WebString message() const;
68 68
69 // FIXME: toV8Value() will be removed after modifying
70 // //src/extensions/renderer/file_system_natives.cc to use
71 // toV8Value(v8::Handle<v8::Obejct>, v8::Isolate*).
72 BLINK_EXPORT v8::Handle<v8::Value> toV8Value();
73 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creation Context, v8::Isolate*); 69 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creation Context, v8::Isolate*);
74 70
75 #if BLINK_IMPLEMENTATION 71 #if BLINK_IMPLEMENTATION
76 explicit WebDOMError(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); 72 explicit WebDOMError(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&);
77 WebDOMError& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); 73 WebDOMError& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&);
78 #endif 74 #endif
79 75
80 protected: 76 protected:
81 WebPrivatePtr<WebCore::DOMError> m_private; 77 WebPrivatePtr<WebCore::DOMError> m_private;
82 }; 78 };
83 79
84 } // namespace blink 80 } // namespace blink
85 81
86 #endif // WebDOMError_h 82 #endif // WebDOMError_h
OLDNEW
« no previous file with comments | « public/web/WebBlob.h ('k') | public/web/WebDOMFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698