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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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) 2011 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_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h" 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h"
10 #include "ui/base/events.h" 10 #include "ui/base/events.h"
11 #include "ui/views/widget/native_widget_aura.h" 11 #include "ui/views/widget/native_widget_aura.h"
(...skipping 16 matching lines...) Expand all
28 explicit NativeTabContentsViewAura( 28 explicit NativeTabContentsViewAura(
29 internal::NativeTabContentsViewDelegate* delegate); 29 internal::NativeTabContentsViewDelegate* delegate);
30 virtual ~NativeTabContentsViewAura(); 30 virtual ~NativeTabContentsViewAura();
31 31
32 content::WebContents* GetWebContents() const; 32 content::WebContents* GetWebContents() const;
33 33
34 private: 34 private:
35 // Overridden from NativeTabContentsView: 35 // Overridden from NativeTabContentsView:
36 virtual void InitNativeTabContentsView() OVERRIDE; 36 virtual void InitNativeTabContentsView() OVERRIDE;
37 virtual void Unparent() OVERRIDE; 37 virtual void Unparent() OVERRIDE;
38 virtual RenderWidgetHostView* CreateRenderWidgetHostView( 38 virtual content::RenderWidgetHostView* CreateRenderWidgetHostView(
39 RenderWidgetHost* render_widget_host) OVERRIDE; 39 RenderWidgetHost* render_widget_host) OVERRIDE;
40 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 40 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
41 virtual void SetPageTitle(const string16& title) OVERRIDE; 41 virtual void SetPageTitle(const string16& title) OVERRIDE;
42 virtual void StartDragging(const WebDropData& drop_data, 42 virtual void StartDragging(const WebDropData& drop_data,
43 WebKit::WebDragOperationsMask ops, 43 WebKit::WebDragOperationsMask ops,
44 const SkBitmap& image, 44 const SkBitmap& image,
45 const gfx::Point& image_offset) OVERRIDE; 45 const gfx::Point& image_offset) OVERRIDE;
46 virtual void CancelDrag() OVERRIDE; 46 virtual void CancelDrag() OVERRIDE;
47 virtual bool IsDoingDrag() const OVERRIDE; 47 virtual bool IsDoingDrag() const OVERRIDE;
48 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 48 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
(...skipping 13 matching lines...) Expand all
62 void EndDrag(WebKit::WebDragOperationsMask ops); 62 void EndDrag(WebKit::WebDragOperationsMask ops);
63 63
64 internal::NativeTabContentsViewDelegate* delegate_; 64 internal::NativeTabContentsViewDelegate* delegate_;
65 65
66 WebKit::WebDragOperationsMask current_drag_op_; 66 WebKit::WebDragOperationsMask current_drag_op_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura); 68 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ 71 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698