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

Unified Diff: chrome/browser/tab_contents/chrome_web_contents_view_delegate_views.h

Issue 9963079: Adds a TabContentsViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: chrome/browser/tab_contents/chrome_web_contents_view_delegate_views.h
===================================================================
--- chrome/browser/tab_contents/chrome_web_contents_view_delegate_views.h (revision 130144)
+++ chrome/browser/tab_contents/chrome_web_contents_view_delegate_views.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_WIN_H_
-#define CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_WIN_H_
+#ifndef CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H_
+#define CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H_
#pragma once
#include "base/basictypes.h"
@@ -13,10 +13,10 @@
class ConstrainedWindowViews;
class RenderViewContextMenuViews;
-class WebDragBookmarkHandlerWin;
namespace content {
class WebContents;
+content::WebDragDestDelegate;
jam 2012/04/03 17:29:27 did you mean "class WebDragDestDelegate;"?
}
namespace views {
@@ -26,11 +26,12 @@
// A chrome specific class that extends TabContentsViewWin with features like
// constrained windows, which live in chrome.
-class ChromeWebContentsViewDelegateWin
+class ChromeWebContentsViewDelegateViews
: public content::WebContentsViewDelegate {
public:
- explicit ChromeWebContentsViewDelegateWin(content::WebContents* web_contents);
- virtual ~ChromeWebContentsViewDelegateWin();
+ explicit ChromeWebContentsViewDelegateViews(
+ content::WebContents* web_contents);
+ virtual ~ChromeWebContentsViewDelegateViews();
// Overridden from WebContentsViewDelegate:
virtual content::WebDragDestDelegate* GetDragDestDelegate() OVERRIDE;
@@ -55,11 +56,11 @@
scoped_ptr<RenderViewContextMenuViews> context_menu_;
// The chrome specific delegate that receives events from WebDragDest.
- scoped_ptr<WebDragBookmarkHandlerWin> bookmark_handler_;
+ scoped_ptr<content::WebDragDestDelegate> bookmark_handler_;
content::WebContents* web_contents_;
- DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsViewDelegateWin);
+ DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsViewDelegateViews);
};
-#endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_WIN_H_
+#endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H_

Powered by Google App Engine
This is Rietveld 408576698