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

Side by Side Diff: third_party/WebKit/Source/core/page/TouchAdjustment.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 2012 Nokia Corporation and/or its subsidiary(-ies) 2 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 Node* node() const { return m_node; } 56 Node* node() const { return m_node; }
57 FloatQuad quad() const { return m_quad; } 57 FloatQuad quad() const { return m_quad; }
58 IntRect boundingBox() const { return m_quad.enclosingBoundingBox(); } 58 IntRect boundingBox() const { return m_quad.enclosingBoundingBox(); }
59 59
60 private: 60 private:
61 RawPtrWillBeMember<Node> m_node; 61 RawPtrWillBeMember<Node> m_node;
62 FloatQuad m_quad; 62 FloatQuad m_quad;
63 }; 63 };
64 64
65 } 65 } // namespace TouchAdjustment
66 66
67 } 67 } // namespace blink
68 68
69 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::TouchAdjustment::Subta rgetGeometry) 69 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::TouchAdjustment::Subta rgetGeometry)
70 70
71 namespace blink { 71 namespace blink {
72 72
73 namespace TouchAdjustment { 73 namespace TouchAdjustment {
74 74
75 typedef WillBeHeapVector<SubtargetGeometry> SubtargetGeometryList; 75 typedef WillBeHeapVector<SubtargetGeometry> SubtargetGeometryList;
76 typedef bool (*NodeFilter)(Node*); 76 typedef bool (*NodeFilter)(Node*);
77 typedef void (*AppendSubtargetsForNode)(Node*, SubtargetGeometryList&); 77 typedef void (*AppendSubtargetsForNode)(Node*, SubtargetGeometryList&);
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 497
498 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint & touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMem ber<Node>>& nodes) 498 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint & touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMem ber<Node>>& nodes)
499 { 499 {
500 IntPoint targetPoint; 500 IntPoint targetPoint;
501 TouchAdjustment::SubtargetGeometryList subtargets; 501 TouchAdjustment::SubtargetGeometryList subtargets;
502 TouchAdjustment::compileZoomableSubtargets(nodes, subtargets); 502 TouchAdjustment::compileZoomableSubtargets(nodes, subtargets);
503 return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetP oint, targetArea, touchHotspot, touchArea, subtargets, TouchAdjustment::zoomable IntersectionQuotient); 503 return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetP oint, targetArea, touchHotspot, touchArea, subtargets, TouchAdjustment::zoomable IntersectionQuotient);
504 } 504 }
505 505
506 } // namespace blink 506 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698