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

Side by Side Diff: Source/WebCore/rendering/RenderFileUploadControl.h

Issue 10871074: Merge 124556 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 4 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) 2006, 2007, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 26 matching lines...) Expand all
37 virtual ~RenderFileUploadControl(); 37 virtual ~RenderFileUploadControl();
38 38
39 virtual bool isFileUploadControl() const { return true; } 39 virtual bool isFileUploadControl() const { return true; }
40 40
41 String buttonValue(); 41 String buttonValue();
42 String fileTextValue() const; 42 String fileTextValue() const;
43 43
44 private: 44 private:
45 virtual const char* renderName() const { return "RenderFileUploadControl"; } 45 virtual const char* renderName() const { return "RenderFileUploadControl"; }
46 46
47 virtual bool canBeReplacedWithInlineRunIn() const OVERRIDE;
47 virtual void updateFromElement(); 48 virtual void updateFromElement();
48 virtual void computePreferredLogicalWidths(); 49 virtual void computePreferredLogicalWidths();
49 virtual void paintObject(PaintInfo&, const LayoutPoint&); 50 virtual void paintObject(PaintInfo&, const LayoutPoint&);
50 51
51 virtual bool requiresForcedStyleRecalcPropagation() const { return true; } 52 virtual bool requiresForcedStyleRecalcPropagation() const { return true; }
52 53
53 int maxFilenameWidth() const; 54 int maxFilenameWidth() const;
54 55
55 virtual VisiblePosition positionForPoint(const LayoutPoint&); 56 virtual VisiblePosition positionForPoint(const LayoutPoint&);
56 57
(...skipping 13 matching lines...) Expand all
70 ASSERT(!object || object->isFileUploadControl()); 71 ASSERT(!object || object->isFileUploadControl());
71 return static_cast<const RenderFileUploadControl*>(object); 72 return static_cast<const RenderFileUploadControl*>(object);
72 } 73 }
73 74
74 // This will catch anyone doing an unnecessary cast. 75 // This will catch anyone doing an unnecessary cast.
75 void toRenderFileUploadControl(const RenderFileUploadControl*); 76 void toRenderFileUploadControl(const RenderFileUploadControl*);
76 77
77 } // namespace WebCore 78 } // namespace WebCore
78 79
79 #endif // RenderFileUploadControl_h 80 #endif // RenderFileUploadControl_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderBlock.cpp ('k') | Source/WebCore/rendering/RenderFileUploadControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698