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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutFileUploadControl.h

Issue 2394263004: Reformat comments in core/layout up until LayoutMultiColumnFlowThread (Closed)
Patch Set: Rebase w/HEAD Created 4 years, 2 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 10 matching lines...) Expand all
21 #ifndef LayoutFileUploadControl_h 21 #ifndef LayoutFileUploadControl_h
22 #define LayoutFileUploadControl_h 22 #define LayoutFileUploadControl_h
23 23
24 #include "core/CoreExport.h" 24 #include "core/CoreExport.h"
25 #include "core/layout/LayoutBlockFlow.h" 25 #include "core/layout/LayoutBlockFlow.h"
26 26
27 namespace blink { 27 namespace blink {
28 28
29 class HTMLInputElement; 29 class HTMLInputElement;
30 30
31 // Each LayoutFileUploadControl contains a LayoutButton (for opening the file ch ooser), and 31 // Each LayoutFileUploadControl contains a LayoutButton (for opening the file
32 // sufficient space to draw a file icon and filename. The LayoutButton has a sha dow node 32 // chooser), and sufficient space to draw a file icon and filename. The
33 // associated with it to receive click/hover events. 33 // LayoutButton has a shadow node associated with it to receive click/hover
34 // events.
34 35
35 class CORE_EXPORT LayoutFileUploadControl final : public LayoutBlockFlow { 36 class CORE_EXPORT LayoutFileUploadControl final : public LayoutBlockFlow {
36 public: 37 public:
37 LayoutFileUploadControl(HTMLInputElement*); 38 LayoutFileUploadControl(HTMLInputElement*);
38 ~LayoutFileUploadControl() override; 39 ~LayoutFileUploadControl() override;
39 40
40 bool isOfType(LayoutObjectType type) const override { 41 bool isOfType(LayoutObjectType type) const override {
41 return type == LayoutObjectFileUploadControl || 42 return type == LayoutObjectFileUploadControl ||
42 LayoutBlockFlow::isOfType(type); 43 LayoutBlockFlow::isOfType(type);
43 } 44 }
(...skipping 21 matching lines...) Expand all
65 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 66 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
66 67
67 bool m_canReceiveDroppedFiles; 68 bool m_canReceiveDroppedFiles;
68 }; 69 };
69 70
70 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFileUploadControl, isFileUploadControl()); 71 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFileUploadControl, isFileUploadControl());
71 72
72 } // namespace blink 73 } // namespace blink
73 74
74 #endif // LayoutFileUploadControl_h 75 #endif // LayoutFileUploadControl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698