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

Side by Side Diff: Source/web/ViewportAnchor.h

Issue 663893002: Clean up forward declarations in Source/web (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/web/SpellCheckerClientImpl.h ('k') | Source/web/WebDevToolsAgentImpl.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 24 matching lines...) Expand all
35 #include "platform/geometry/IntPoint.h" 35 #include "platform/geometry/IntPoint.h"
36 #include "platform/geometry/IntRect.h" 36 #include "platform/geometry/IntRect.h"
37 #include "platform/geometry/LayoutRect.h" 37 #include "platform/geometry/LayoutRect.h"
38 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
39 #include "wtf/RefCounted.h" 39 #include "wtf/RefCounted.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class EventHandler; 43 class EventHandler;
44 class FrameView; 44 class FrameView;
45 class IntSize;
46 class Node; 45 class Node;
47 46
48 // ViewportAnchor provides a way to anchor a viewport origin to a DOM node. 47 // ViewportAnchor provides a way to anchor a viewport origin to a DOM node.
49 // In particular, the user supplies the current viewport (in CSS coordinates) 48 // In particular, the user supplies the current viewport (in CSS coordinates)
50 // and an anchor point (in view coordinates, e.g., (0, 0) == viewport origin, 49 // and an anchor point (in view coordinates, e.g., (0, 0) == viewport origin,
51 // (0.5, 0) == viewport top center). The anchor point tracks the underlying DOM 50 // (0.5, 0) == viewport top center). The anchor point tracks the underlying DOM
52 // node; as the node moves or the view is resized, the viewport anchor maintains 51 // node; as the node moves or the view is resized, the viewport anchor maintains
53 // its orientation relative to the node, and the viewport origin maintains its 52 // its orientation relative to the node, and the viewport origin maintains its
54 // orientation relative to the anchor. 53 // orientation relative to the anchor.
55 class ViewportAnchor { 54 class ViewportAnchor {
(...skipping 22 matching lines...) Expand all
78 RefPtrWillBeMember<Node> m_anchorNode; 77 RefPtrWillBeMember<Node> m_anchorNode;
79 LayoutRect m_anchorNodeBounds; 78 LayoutRect m_anchorNodeBounds;
80 79
81 FloatSize m_anchorInInnerViewCoords; 80 FloatSize m_anchorInInnerViewCoords;
82 FloatSize m_anchorInNodeCoords; 81 FloatSize m_anchorInNodeCoords;
83 }; 82 };
84 83
85 } // namespace blink 84 } // namespace blink
86 85
87 #endif 86 #endif
OLDNEW
« no previous file with comments | « Source/web/SpellCheckerClientImpl.h ('k') | Source/web/WebDevToolsAgentImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698