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

Unified Diff: Source/web/ViewportAnchor.h

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/ValidationMessageClientImpl.cpp ('k') | Source/web/ViewportAnchor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ViewportAnchor.h
diff --git a/Source/web/ViewportAnchor.h b/Source/web/ViewportAnchor.h
index 47167e657b9808c88491f23d51f0c7ddd51c36e6..45c3e1ecab6c4c293a4623772daeb1b748928e2b 100644
--- a/Source/web/ViewportAnchor.h
+++ b/Source/web/ViewportAnchor.h
@@ -38,7 +38,7 @@
#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
-namespace WebCore {
+namespace blink {
class EventHandler;
class IntSize;
class Node;
@@ -56,22 +56,22 @@ namespace blink {
class ViewportAnchor {
STACK_ALLOCATED();
public:
- explicit ViewportAnchor(WebCore::EventHandler* eventHandler);
+ explicit ViewportAnchor(blink::EventHandler* eventHandler);
- void setAnchor(const WebCore::IntRect& viewRect, const WebCore::FloatSize& anchorInViewCoords);
+ void setAnchor(const blink::IntRect& viewRect, const blink::FloatSize& anchorInViewCoords);
- WebCore::IntPoint computeOrigin(const WebCore::IntSize& currentViewSize) const;
+ blink::IntPoint computeOrigin(const blink::IntSize& currentViewSize) const;
private:
- RawPtrWillBeMember<WebCore::EventHandler> m_eventHandler;
+ RawPtrWillBeMember<blink::EventHandler> m_eventHandler;
- WebCore::IntRect m_viewRect;
+ blink::IntRect m_viewRect;
- RefPtrWillBeMember<WebCore::Node> m_anchorNode;
- WebCore::LayoutRect m_anchorNodeBounds;
+ RefPtrWillBeMember<blink::Node> m_anchorNode;
+ blink::LayoutRect m_anchorNodeBounds;
- WebCore::FloatSize m_anchorInViewCoords;
- WebCore::FloatSize m_anchorInNodeCoords;
+ blink::FloatSize m_anchorInViewCoords;
+ blink::FloatSize m_anchorInNodeCoords;
};
} // namespace blink
« no previous file with comments | « Source/web/ValidationMessageClientImpl.cpp ('k') | Source/web/ViewportAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698