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

Side by Side Diff: Source/web/WebHitTestResult.cpp

Issue 468083003: Cleanup namespace usage in Source/web/Web[A-H]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing Created 6 years, 4 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/WebHistoryItem.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) 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 #include "core/dom/Node.h" 30 #include "core/dom/Node.h"
31 #include "core/editing/VisiblePosition.h" 31 #include "core/editing/VisiblePosition.h"
32 #include "core/rendering/HitTestResult.h" 32 #include "core/rendering/HitTestResult.h"
33 #include "core/rendering/RenderObject.h" 33 #include "core/rendering/RenderObject.h"
34 #include "platform/weborigin/KURL.h" 34 #include "platform/weborigin/KURL.h"
35 #include "public/platform/WebPoint.h" 35 #include "public/platform/WebPoint.h"
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 using namespace blink;
41
42 namespace blink { 40 namespace blink {
43 41
44 class WebHitTestResultPrivate : public RefCountedWillBeGarbageCollectedFinalized <WebHitTestResultPrivate> { 42 class WebHitTestResultPrivate : public RefCountedWillBeGarbageCollectedFinalized <WebHitTestResultPrivate> {
45 public: 43 public:
46 static PassRefPtrWillBeRawPtr<WebHitTestResultPrivate> create(const HitTestR esult&); 44 static PassRefPtrWillBeRawPtr<WebHitTestResultPrivate> create(const HitTestR esult&);
47 static PassRefPtrWillBeRawPtr<WebHitTestResultPrivate> create(const WebHitTe stResultPrivate&); 45 static PassRefPtrWillBeRawPtr<WebHitTestResultPrivate> create(const WebHitTe stResultPrivate&);
48 void trace(Visitor* visitor) { visitor->trace(m_result); } 46 void trace(Visitor* visitor) { visitor->trace(m_result); }
49 const HitTestResult& result() const { return m_result; } 47 const HitTestResult& result() const { return m_result; }
50 48
51 private: 49 private:
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 else 126 else
129 m_private = WebHitTestResultPrivate::create(*info.m_private.get()); 127 m_private = WebHitTestResultPrivate::create(*info.m_private.get());
130 } 128 }
131 129
132 void WebHitTestResult::reset() 130 void WebHitTestResult::reset()
133 { 131 {
134 m_private.reset(); 132 m_private.reset();
135 } 133 }
136 134
137 } // namespace blink 135 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebHistoryItem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698