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

Side by Side Diff: chrome/browser/tab_contents/chrome_web_contents_view_delegate_views.h

Issue 10031044: TabContents -> WebContentsImpl, part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (fixed) Created 8 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/public/browser/web_contents_view_delegate.h" 12 #include "content/public/browser/web_contents_view_delegate.h"
13 13
14 class ConstrainedWindowViews; 14 class ConstrainedWindowViews;
15 class RenderViewContextMenuViews; 15 class RenderViewContextMenuViews;
16 16
17 namespace content { 17 namespace content {
18 class WebContents; 18 class WebContents;
19 class WebDragDestDelegate; 19 class WebDragDestDelegate;
20 } 20 }
21 21
22 namespace views { 22 namespace views {
23 class FocusManager; 23 class FocusManager;
24 class Widget; 24 class Widget;
25 } 25 }
26 26
27 // A chrome specific class that extends TabContentsViewWin with features like 27 // A chrome specific class that extends WebContentsViewWin with features like
28 // constrained windows, which live in chrome. 28 // constrained windows, which live in chrome.
29 class ChromeWebContentsViewDelegateViews 29 class ChromeWebContentsViewDelegateViews
30 : public content::WebContentsViewDelegate { 30 : public content::WebContentsViewDelegate {
31 public: 31 public:
32 explicit ChromeWebContentsViewDelegateViews( 32 explicit ChromeWebContentsViewDelegateViews(
33 content::WebContents* web_contents); 33 content::WebContents* web_contents);
34 virtual ~ChromeWebContentsViewDelegateViews(); 34 virtual ~ChromeWebContentsViewDelegateViews();
35 35
36 // Overridden from WebContentsViewDelegate: 36 // Overridden from WebContentsViewDelegate:
37 virtual content::WebDragDestDelegate* GetDragDestDelegate() OVERRIDE; 37 virtual content::WebDragDestDelegate* GetDragDestDelegate() OVERRIDE;
(...skipping 19 matching lines...) Expand all
57 57
58 // The chrome specific delegate that receives events from WebDragDest. 58 // The chrome specific delegate that receives events from WebDragDest.
59 scoped_ptr<content::WebDragDestDelegate> bookmark_handler_; 59 scoped_ptr<content::WebDragDestDelegate> bookmark_handler_;
60 60
61 content::WebContents* web_contents_; 61 content::WebContents* web_contents_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsViewDelegateViews); 63 DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsViewDelegateViews);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H _ 66 #endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_VIEWS_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698