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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/WebDOMCustomEvent.h ('k') | public/web/WebDOMEvent.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 24 matching lines...) Expand all
35 #include "public/platform/WebPrivatePtr.h" 35 #include "public/platform/WebPrivatePtr.h"
36 #include "public/platform/WebString.h" 36 #include "public/platform/WebString.h"
37 37
38 namespace v8 { 38 namespace v8 {
39 class Value; 39 class Value;
40 template <class T> class Handle; 40 template <class T> class Handle;
41 } 41 }
42 42
43 namespace WebCore { class DOMError; } 43 namespace WebCore { class DOMError; }
44 44
45 namespace WebKit { 45 namespace blink {
46 46
47 class WebDOMError { 47 class WebDOMError {
48 public: 48 public:
49 ~WebDOMError() { reset(); } 49 ~WebDOMError() { reset(); }
50 50
51 WebDOMError() { } 51 WebDOMError() { }
52 WebDOMError(const WebDOMError& b) { assign(b); } 52 WebDOMError(const WebDOMError& b) { assign(b); }
53 WebDOMError& operator=(const WebDOMError& b) 53 WebDOMError& operator=(const WebDOMError& b)
54 { 54 {
55 assign(b); 55 assign(b);
(...skipping 13 matching lines...) Expand all
69 #if BLINK_IMPLEMENTATION 69 #if BLINK_IMPLEMENTATION
70 WebDOMError(const WTF::PassRefPtr<WebCore::DOMError>&); 70 WebDOMError(const WTF::PassRefPtr<WebCore::DOMError>&);
71 WebDOMError& operator=(const WTF::PassRefPtr<WebCore::DOMError>&); 71 WebDOMError& operator=(const WTF::PassRefPtr<WebCore::DOMError>&);
72 operator WTF::PassRefPtr<WebCore::DOMError>() const; 72 operator WTF::PassRefPtr<WebCore::DOMError>() const;
73 #endif 73 #endif
74 74
75 protected: 75 protected:
76 WebPrivatePtr<WebCore::DOMError> m_private; 76 WebPrivatePtr<WebCore::DOMError> m_private;
77 }; 77 };
78 78
79 } // namespace WebKit 79 } // namespace blink
80 80
81 #endif // WebDOMError_h 81 #endif // WebDOMError_h
OLDNEW
« no previous file with comments | « public/web/WebDOMCustomEvent.h ('k') | public/web/WebDOMEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698