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

Side by Side Diff: sky/engine/web/WebHitTestResult.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/platform/heap/Handle.h ('k') | sky/engine/wtf/Deque.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) 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 25 matching lines...) Expand all
36 #include "public/platform/WebURL.h" 36 #include "public/platform/WebURL.h"
37 #include "public/web/WebElement.h" 37 #include "public/web/WebElement.h"
38 #include "public/web/WebNode.h" 38 #include "public/web/WebNode.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class WebHitTestResultPrivate : public RefCounted<WebHitTestResultPrivate> { 42 class WebHitTestResultPrivate : public RefCounted<WebHitTestResultPrivate> {
43 public: 43 public:
44 static PassRefPtr<WebHitTestResultPrivate> create(const HitTestResult&); 44 static PassRefPtr<WebHitTestResultPrivate> create(const HitTestResult&);
45 static PassRefPtr<WebHitTestResultPrivate> create(const WebHitTestResultPriv ate&); 45 static PassRefPtr<WebHitTestResultPrivate> create(const WebHitTestResultPriv ate&);
46 void trace(Visitor* visitor) { visitor->trace(m_result); }
47 const HitTestResult& result() const { return m_result; } 46 const HitTestResult& result() const { return m_result; }
48 47
49 private: 48 private:
50 WebHitTestResultPrivate(const HitTestResult&); 49 WebHitTestResultPrivate(const HitTestResult&);
51 WebHitTestResultPrivate(const WebHitTestResultPrivate&); 50 WebHitTestResultPrivate(const WebHitTestResultPrivate&);
52 51
53 HitTestResult m_result; 52 HitTestResult m_result;
54 }; 53 };
55 54
56 inline WebHitTestResultPrivate::WebHitTestResultPrivate(const HitTestResult& res ult) 55 inline WebHitTestResultPrivate::WebHitTestResultPrivate(const HitTestResult& res ult)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 else 125 else
127 m_private = WebHitTestResultPrivate::create(*info.m_private.get()); 126 m_private = WebHitTestResultPrivate::create(*info.m_private.get());
128 } 127 }
129 128
130 void WebHitTestResult::reset() 129 void WebHitTestResult::reset()
131 { 130 {
132 m_private.reset(); 131 m_private.reset();
133 } 132 }
134 133
135 } // namespace blink 134 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/heap/Handle.h ('k') | sky/engine/wtf/Deque.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698