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

Side by Side Diff: third_party/WebKit/Source/core/page/EventWithHitTestResults.h

Issue 2735293002: Rename *isOverWidget* methods to ...isOverFrameViewBase... (Closed)
Patch Set: Rename *isOverWidget* methods to ...isOverFrameViewBase... Created 3 years, 9 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 | « third_party/WebKit/Source/core/layout/LayoutPart.cpp ('k') | no next file » | 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) 2000 Simon Hausmann <hausmann@kde.org> 2 Copyright (C) 2000 Simon Hausmann <hausmann@kde.org>
3 Copyright (C) 2006 Apple Computer, Inc. 3 Copyright (C) 2006 Apple Computer, Inc.
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 25 matching lines...) Expand all
36 public: 36 public:
37 EventWithHitTestResults(const EventType& event, 37 EventWithHitTestResults(const EventType& event,
38 const HitTestResult& hitTestResult) 38 const HitTestResult& hitTestResult)
39 : m_event(event), m_hitTestResult(hitTestResult) {} 39 : m_event(event), m_hitTestResult(hitTestResult) {}
40 40
41 const EventType& event() const { return m_event; } 41 const EventType& event() const { return m_event; }
42 const HitTestResult& hitTestResult() const { return m_hitTestResult; } 42 const HitTestResult& hitTestResult() const { return m_hitTestResult; }
43 LayoutPoint localPoint() const { return m_hitTestResult.localPoint(); } 43 LayoutPoint localPoint() const { return m_hitTestResult.localPoint(); }
44 Scrollbar* scrollbar() const { return m_hitTestResult.scrollbar(); } 44 Scrollbar* scrollbar() const { return m_hitTestResult.scrollbar(); }
45 bool isOverLink() const { return m_hitTestResult.isOverLink(); } 45 bool isOverLink() const { return m_hitTestResult.isOverLink(); }
46 bool isOverWidget() const { return m_hitTestResult.isOverWidget(); } 46 bool isOverFrameViewBase() const {
47 return m_hitTestResult.isOverFrameViewBase();
48 }
47 Node* innerNode() const { return m_hitTestResult.innerNode(); } 49 Node* innerNode() const { return m_hitTestResult.innerNode(); }
48 const String& canvasRegionId() const { 50 const String& canvasRegionId() const {
49 return m_hitTestResult.canvasRegionId(); 51 return m_hitTestResult.canvasRegionId();
50 } 52 }
51 53
52 private: 54 private:
53 EventType m_event; 55 EventType m_event;
54 HitTestResult m_hitTestResult; 56 HitTestResult m_hitTestResult;
55 }; 57 };
56 58
57 using MouseEventWithHitTestResults = EventWithHitTestResults<WebMouseEvent>; 59 using MouseEventWithHitTestResults = EventWithHitTestResults<WebMouseEvent>;
58 60
59 using GestureEventWithHitTestResults = EventWithHitTestResults<WebGestureEvent>; 61 using GestureEventWithHitTestResults = EventWithHitTestResults<WebGestureEvent>;
60 62
61 } // namespace blink 63 } // namespace blink
62 64
63 #endif // EventWithHitTestResults_h 65 #endif // EventWithHitTestResults_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutPart.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698