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

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

Issue 9963079: Adds a TabContentsViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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_AURA_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_AURA_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_AURA_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_AURA_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"
(...skipping 10 matching lines...) Expand all
21 // custom drag and drop for bookmarks. 21 // custom drag and drop for bookmarks.
22 class ChromeWebContentsViewDelegateAura 22 class ChromeWebContentsViewDelegateAura
23 : public content::WebContentsViewDelegate { 23 : public content::WebContentsViewDelegate {
24 public: 24 public:
25 explicit ChromeWebContentsViewDelegateAura( 25 explicit ChromeWebContentsViewDelegateAura(
26 content::WebContents* web_contents); 26 content::WebContents* web_contents);
27 virtual ~ChromeWebContentsViewDelegateAura(); 27 virtual ~ChromeWebContentsViewDelegateAura();
28 28
29 // Overridden from WebContentsViewDelegate: 29 // Overridden from WebContentsViewDelegate:
30 virtual content::WebDragDestDelegate* GetDragDestDelegate() OVERRIDE; 30 virtual content::WebDragDestDelegate* GetDragDestDelegate() OVERRIDE;
31 virtual void StoreFocus() OVERRIDE;
32 virtual void RestoreFocus() OVERRIDE;
33 virtual bool Focus() OVERRIDE;
34 virtual void TakeFocus(bool reverse) OVERRIDE;
31 virtual void ShowContextMenu( 35 virtual void ShowContextMenu(
32 const content::ContextMenuParams& params) OVERRIDE; 36 const content::ContextMenuParams& params) OVERRIDE;
37 virtual void SizeChanged(const gfx::Size& size) OVERRIDE;
33 38
34 private: 39 private:
35 content::WebContents* web_contents_; 40 content::WebContents* web_contents_;
36 41
37 // The chrome specific delegate for bookmark DnD. 42 // The chrome specific delegate for bookmark DnD.
38 scoped_ptr<WebDragBookmarkHandlerAura> bookmark_handler_; 43 scoped_ptr<WebDragBookmarkHandlerAura> bookmark_handler_;
39 44
40 DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsViewDelegateAura); 45 DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsViewDelegateAura);
41 }; 46 };
42 47
43 #endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_AURA_H_ 48 #endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/tab_contents/chrome_web_contents_view_delegate_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698