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

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

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin Created 6 years 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
« no previous file with comments | « public/web/WebFont.h ('k') | public/web/WebFrame.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 19 matching lines...) Expand all
30 30
31 #ifndef WebFormElement_h 31 #ifndef WebFormElement_h
32 #define WebFormElement_h 32 #define WebFormElement_h
33 33
34 #include "../platform/WebVector.h" 34 #include "../platform/WebVector.h"
35 #include "WebElement.h" 35 #include "WebElement.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class HTMLFormElement; 39 class HTMLFormElement;
40 class WebInputElement;
41 class WebFormControlElement; 40 class WebFormControlElement;
42 41
43 // A container for passing around a reference to a form element. Provides some 42 // A container for passing around a reference to a form element. Provides some
44 // information about the form. 43 // information about the form.
45 class WebFormElement : public WebElement { 44 class WebFormElement : public WebElement {
46 public: 45 public:
47 ~WebFormElement() { reset(); } 46 ~WebFormElement() { reset(); }
48 47
49 WebFormElement() : WebElement() { } 48 WebFormElement() : WebElement() { }
50 WebFormElement(const WebFormElement& element) : WebElement(element) { } 49 WebFormElement(const WebFormElement& element) : WebElement(element) { }
(...skipping 30 matching lines...) Expand all
81 #if BLINK_IMPLEMENTATION 80 #if BLINK_IMPLEMENTATION
82 WebFormElement(const PassRefPtrWillBeRawPtr<HTMLFormElement>&); 81 WebFormElement(const PassRefPtrWillBeRawPtr<HTMLFormElement>&);
83 WebFormElement& operator=(const PassRefPtrWillBeRawPtr<HTMLFormElement>&); 82 WebFormElement& operator=(const PassRefPtrWillBeRawPtr<HTMLFormElement>&);
84 operator PassRefPtrWillBeRawPtr<HTMLFormElement>() const; 83 operator PassRefPtrWillBeRawPtr<HTMLFormElement>() const;
85 #endif 84 #endif
86 }; 85 };
87 86
88 } // namespace blink 87 } // namespace blink
89 88
90 #endif 89 #endif
OLDNEW
« no previous file with comments | « public/web/WebFont.h ('k') | public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698