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

Side by Side Diff: third_party/WebKit/public/web/WebHitTestResult.h

Issue 2388103002: reflow comments in public/web (Closed)
Patch Set: 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 19 matching lines...) Expand all
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class HitTestResult; 33 class HitTestResult;
34 class WebElement; 34 class WebElement;
35 class WebHitTestResultPrivate; 35 class WebHitTestResultPrivate;
36 class WebNode; 36 class WebNode;
37 class WebURL; 37 class WebURL;
38 struct WebPoint; 38 struct WebPoint;
39 39
40 // Properties of a hit test result, i.e. properties of the nodes at a given poin t 40 // Properties of a hit test result, i.e. properties of the nodes at a given
41 // (the hit point) on the page. Both urls may be populated at the same time, for 41 // point (the hit point) on the page. Both urls may be populated at the same
42 // example in the instance of an <img> inside an <a>. 42 // time, for example in the instance of an <img> inside an <a>.
43 class WebHitTestResult { 43 class WebHitTestResult {
44 public: 44 public:
45 WebHitTestResult() {} 45 WebHitTestResult() {}
46 WebHitTestResult(const WebHitTestResult& info) { assign(info); } 46 WebHitTestResult(const WebHitTestResult& info) { assign(info); }
47 ~WebHitTestResult() { reset(); } 47 ~WebHitTestResult() { reset(); }
48 48
49 BLINK_EXPORT void assign(const WebHitTestResult&); 49 BLINK_EXPORT void assign(const WebHitTestResult&);
50 BLINK_EXPORT void reset(); 50 BLINK_EXPORT void reset();
51 BLINK_EXPORT bool isNull() const; 51 BLINK_EXPORT bool isNull() const;
52 52
(...skipping 21 matching lines...) Expand all
74 WebHitTestResult& operator=(const HitTestResult&); 74 WebHitTestResult& operator=(const HitTestResult&);
75 #endif 75 #endif
76 76
77 protected: 77 protected:
78 WebPrivatePtr<WebHitTestResultPrivate> m_private; 78 WebPrivatePtr<WebHitTestResultPrivate> m_private;
79 }; 79 };
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #endif 83 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrameWidget.h ('k') | third_party/WebKit/public/web/WebImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698