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

Side by Side Diff: Source/core/html/HTMLAreaElement.h

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2004, 2008, 2009, 2011 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2008, 2009, 2011 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 29 matching lines...) Expand all
40 bool isDefault() const { return m_shape == Default; } 40 bool isDefault() const { return m_shape == Default; }
41 41
42 bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&); 42 bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);
43 43
44 LayoutRect computeRect(RenderObject*) const; 44 LayoutRect computeRect(RenderObject*) const;
45 Path computePath(RenderObject*) const; 45 Path computePath(RenderObject*) const;
46 46
47 // The parent map's image. 47 // The parent map's image.
48 HTMLImageElement* imageElement() const; 48 HTMLImageElement* imageElement() const;
49 49
50 virtual void acceptHeapVisitor(Visitor* visitor) const { HTMLAnchorElement:: acceptHeapVisitor(visitor); } 50 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
51 51
52 private: 52 private:
53 HTMLAreaElement(const QualifiedName&, Handle<Document>); 53 HTMLAreaElement(const QualifiedName&, Handle<Document>);
54 54
55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
56 virtual bool supportsFocus() const; 56 virtual bool supportsFocus() const;
57 virtual String target() const; 57 virtual String target() const;
58 virtual bool isKeyboardFocusable(KeyboardEvent*) const; 58 virtual bool isKeyboardFocusable(KeyboardEvent*) const;
59 virtual bool isMouseFocusable() const; 59 virtual bool isMouseFocusable() const;
60 virtual bool isFocusable() const; 60 virtual bool isFocusable() const;
61 virtual void updateFocusAppearance(bool /*restorePreviousSelection*/); 61 virtual void updateFocusAppearance(bool /*restorePreviousSelection*/);
62 virtual void setFocus(bool) OVERRIDE; 62 virtual void setFocus(bool) OVERRIDE;
63 63
64 enum Shape { Default, Poly, Rect, Circle, Unknown }; 64 enum Shape { Default, Poly, Rect, Circle, Unknown };
65 Path getRegion(const LayoutSize&) const; 65 Path getRegion(const LayoutSize&) const;
66 void invalidateCachedRegion(); 66 void invalidateCachedRegion();
67 67
68 OwnPtr<Path> m_region; 68 OwnPtr<Path> m_region;
69 OwnArrayPtr<Length> m_coords; 69 OwnArrayPtr<Length> m_coords;
70 int m_coordsLen; 70 int m_coordsLen;
71 LayoutSize m_lastSize; 71 LayoutSize m_lastSize;
72 Shape m_shape; 72 Shape m_shape;
73 }; 73 };
74 74
75 } //namespace 75 } //namespace
76 76
77 #endif 77 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698