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

Side by Side Diff: third_party/WebKit/public/web/WebDOMEvent.h

Issue 2874713002: Move many standalone files from web/ to (core|modules)/exported/. (Closed)
Patch Set: Rebase Created 3 years, 7 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 * 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 Assign(e); 48 Assign(e);
49 return *this; 49 return *this;
50 } 50 }
51 51
52 BLINK_EXPORT void Reset(); 52 BLINK_EXPORT void Reset();
53 BLINK_EXPORT void Assign(const WebDOMEvent&); 53 BLINK_EXPORT void Assign(const WebDOMEvent&);
54 54
55 bool IsNull() const { return private_.IsNull(); } 55 bool IsNull() const { return private_.IsNull(); }
56 56
57 #if BLINK_IMPLEMENTATION 57 #if BLINK_IMPLEMENTATION
58 WebDOMEvent(Event*); 58 BLINK_EXPORT WebDOMEvent(Event*);
59 operator Event*() const; 59 BLINK_EXPORT operator Event*() const;
60 #endif 60 #endif
61 61
62 template <typename T> 62 template <typename T>
63 T To() { 63 T To() {
64 T res; 64 T res;
65 res.WebDOMEvent::assign(*this); 65 res.WebDOMEvent::assign(*this);
66 return res; 66 return res;
67 } 67 }
68 68
69 template <typename T> 69 template <typename T>
(...skipping 17 matching lines...) Expand all
87 return static_cast<const T*>(private_.Get()); 87 return static_cast<const T*>(private_.Get());
88 } 88 }
89 #endif 89 #endif
90 90
91 WebPrivatePtr<Event> private_; 91 WebPrivatePtr<Event> private_;
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif 96 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebColorSuggestion.h ('k') | third_party/WebKit/public/web/WebDateTimeSuggestion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698