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

Unified Diff: webkit/glue/webpopupmenu_impl.h

Issue 339001: Minor cleanup in glue to remove some remaining base dependencies.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/glue/webpopupmenu_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpopupmenu_impl.h
===================================================================
--- webkit/glue/webpopupmenu_impl.h (revision 30037)
+++ webkit/glue/webpopupmenu_impl.h (working copy)
@@ -5,13 +5,12 @@
#ifndef WEBKIT_GLUE_WEBPOPUPMENU_IMPL_H_
#define WEBKIT_GLUE_WEBPOPUPMENU_IMPL_H_
-#include "base/basictypes.h"
-#include "base/ref_counted.h"
#include "webkit/api/public/WebPoint.h"
#include "webkit/api/public/WebPopupMenu.h"
#include "webkit/api/public/WebSize.h"
#include "FramelessScrollViewClient.h"
+#include <wtf/RefCounted.h>
namespace WebCore {
class Frame;
@@ -34,7 +33,7 @@
class WebPopupMenuImpl : public WebKit::WebPopupMenu,
public WebCore::FramelessScrollViewClient,
- public base::RefCounted<WebPopupMenuImpl> {
+ public RefCounted<WebPopupMenuImpl> {
public:
// WebWidget
virtual void close();
@@ -73,7 +72,7 @@
protected:
friend class WebKit::WebPopupMenu; // For WebPopupMenu::create
- friend class base::RefCounted<WebPopupMenuImpl>;
+ friend class WTF::RefCounted<WebPopupMenuImpl>;
WebPopupMenuImpl(WebKit::WebWidgetClient* client);
~WebPopupMenuImpl();
@@ -104,9 +103,6 @@
// This is a non-owning ref. The popup will notify us via popupClosed()
// before it is destroyed.
WebCore::FramelessScrollView* widget_;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WebPopupMenuImpl);
};
#endif // WEBKIT_GLUE_WEBPOPUPMENU_IMPL_H_
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/glue/webpopupmenu_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698