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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h

Issue 1780603002: blink: Rename bindings/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-bindings: rebase 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) 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 ContextType context() const { return m_context; } 109 ContextType context() const { return m_context; }
110 const char* propertyName() const { return m_propertyName; } 110 const char* propertyName() const { return m_propertyName; }
111 const char* interfaceName() const { return m_interfaceName; } 111 const char* interfaceName() const { return m_interfaceName; }
112 112
113 void rethrowV8Exception(v8::Local<v8::Value> value) 113 void rethrowV8Exception(v8::Local<v8::Value> value)
114 { 114 {
115 setException(value); 115 setException(value);
116 } 116 }
117 117
118 #if ENABLE(ASSERT) 118 #if ENABLE(ASSERT)
119 OnStackObjectChecker& onStackObjectChecker() { return m_onStackObjectChecker ; } 119 OnStackObjectChecker& getOnStackObjectChecker() { return m_onStackObjectChec ker; }
120 #endif 120 #endif
121 121
122 protected: 122 protected:
123 ExceptionCode m_code; 123 ExceptionCode m_code;
124 ContextType m_context; 124 ContextType m_context;
125 String m_message; 125 String m_message;
126 const char* m_propertyName; 126 const char* m_propertyName;
127 const char* m_interfaceName; 127 const char* m_interfaceName;
128 128
129 private: 129 private:
(...skipping 28 matching lines...) Expand all
158 TrackExceptionState(): ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Local<v8::Object>(), v8::Isolate::GetCurrent()) { } 158 TrackExceptionState(): ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Local<v8::Object>(), v8::Isolate::GetCurrent()) { }
159 void throwDOMException(const ExceptionCode&, const String& message) override ; 159 void throwDOMException(const ExceptionCode&, const String& message) override ;
160 void throwTypeError(const String& message = String()) override; 160 void throwTypeError(const String& message = String()) override;
161 void throwSecurityError(const String& sanitizedMessage, const String& unsani tizedMessage = String()) override; 161 void throwSecurityError(const String& sanitizedMessage, const String& unsani tizedMessage = String()) override;
162 void throwRangeError(const String& message) override; 162 void throwRangeError(const String& message) override;
163 }; 163 };
164 164
165 } // namespace blink 165 } // namespace blink
166 166
167 #endif // ExceptionState_h 167 #endif // ExceptionState_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/Dictionary.cpp ('k') | third_party/WebKit/Source/bindings/core/v8/NPV8Object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698