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

Unified Diff: Source/web/WebPopupMenuImpl.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/WebPluginScrollbarImpl.cpp ('k') | Source/web/WebPopupMenuImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPopupMenuImpl.h
diff --git a/Source/web/WebPopupMenuImpl.h b/Source/web/WebPopupMenuImpl.h
index 1fd1c5bbd0326e042a5469580d1412bea66470f3..10b77402806dd4535f204083cfd993c9b15e8de7 100644
--- a/Source/web/WebPopupMenuImpl.h
+++ b/Source/web/WebPopupMenuImpl.h
@@ -39,7 +39,7 @@
#include "wtf/OwnPtr.h"
#include "wtf/RefCounted.h"
-namespace WebCore {
+namespace blink {
class LocalFrame;
class FramelessScrollView;
class KeyboardEvent;
@@ -60,7 +60,7 @@ class WebRange;
struct WebRect;
class WebTouchEvent;
-class WebPopupMenuImpl : public WebPopupMenu, public WebCore::FramelessScrollViewClient, public WebContentLayerClient, public RefCounted<WebPopupMenuImpl> {
+class WebPopupMenuImpl : public WebPopupMenu, public blink::FramelessScrollViewClient, public WebContentLayerClient, public RefCounted<WebPopupMenuImpl> {
WTF_MAKE_FAST_ALLOCATED;
public:
// WebWidget functions:
@@ -95,7 +95,7 @@ public:
WebContentLayerClient::GraphicsContextStatus = GraphicsContextEnabled) OVERRIDE FINAL;
// WebPopupMenuImpl
- void initialize(WebCore::FramelessScrollView* widget, const WebRect& bounds);
+ void initialize(blink::FramelessScrollView* widget, const WebRect& bounds);
WebWidgetClient* client() { return m_client; }
@@ -116,16 +116,16 @@ public:
WebPopupMenuImpl(WebWidgetClient*);
~WebPopupMenuImpl();
- // WebCore::HostWindow methods:
- virtual void invalidateContentsAndRootView(const WebCore::IntRect&) OVERRIDE FINAL;
- virtual void invalidateContentsForSlowScroll(const WebCore::IntRect&) OVERRIDE FINAL;
+ // blink::HostWindow methods:
+ virtual void invalidateContentsAndRootView(const blink::IntRect&) OVERRIDE FINAL;
+ virtual void invalidateContentsForSlowScroll(const blink::IntRect&) OVERRIDE FINAL;
virtual void scheduleAnimation() OVERRIDE FINAL;
- virtual void scroll(const WebCore::IntRect& clipRect) OVERRIDE FINAL;
- virtual WebCore::IntRect rootViewToScreen(const WebCore::IntRect&) const OVERRIDE FINAL;
+ virtual void scroll(const blink::IntRect& clipRect) OVERRIDE FINAL;
+ virtual blink::IntRect rootViewToScreen(const blink::IntRect&) const OVERRIDE FINAL;
virtual WebScreenInfo screenInfo() const OVERRIDE FINAL;
- // WebCore::FramelessScrollViewClient methods:
- virtual void popupClosed(WebCore::FramelessScrollView*) OVERRIDE FINAL;
+ // blink::FramelessScrollViewClient methods:
+ virtual void popupClosed(blink::FramelessScrollView*) OVERRIDE FINAL;
WebWidgetClient* m_client;
WebSize m_size;
@@ -137,13 +137,13 @@ public:
// This is a non-owning ref. The popup will notify us via popupClosed()
// before it is destroyed.
- WebCore::FramelessScrollView* m_widget;
+ blink::FramelessScrollView* m_widget;
};
DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), widget.isPopupMenu());
// WebPopupMenuImpl is the only implementation of FramelessScrollViewClient, so
// no need for further checking.
-DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebCore::FramelessScrollViewClient, client, true, true);
+DEFINE_TYPE_CASTS(WebPopupMenuImpl, blink::FramelessScrollViewClient, client, true, true);
} // namespace blink
« no previous file with comments | « Source/web/WebPluginScrollbarImpl.cpp ('k') | Source/web/WebPopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698