| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |