| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "views/widget/native_widget_aura.h" | 10 #include "views/widget/native_widget_aura.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 void EndDragging(); | 23 void EndDragging(); |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 // Overridden from NativeTabContentsView: | 26 // Overridden from NativeTabContentsView: |
| 27 virtual void InitNativeTabContentsView() OVERRIDE; | 27 virtual void InitNativeTabContentsView() OVERRIDE; |
| 28 virtual void Unparent() OVERRIDE; | 28 virtual void Unparent() OVERRIDE; |
| 29 virtual RenderWidgetHostView* CreateRenderWidgetHostView( | 29 virtual RenderWidgetHostView* CreateRenderWidgetHostView( |
| 30 RenderWidgetHost* render_widget_host) OVERRIDE; | 30 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 31 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; | 31 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; |
| 32 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; | 32 virtual void SetPageTitle(const string16& title) OVERRIDE; |
| 33 virtual void StartDragging(const WebDropData& drop_data, | 33 virtual void StartDragging(const WebDropData& drop_data, |
| 34 WebKit::WebDragOperationsMask ops, | 34 WebKit::WebDragOperationsMask ops, |
| 35 const SkBitmap& image, | 35 const SkBitmap& image, |
| 36 const gfx::Point& image_offset) OVERRIDE; | 36 const gfx::Point& image_offset) OVERRIDE; |
| 37 virtual void CancelDrag() OVERRIDE; | 37 virtual void CancelDrag() OVERRIDE; |
| 38 virtual bool IsDoingDrag() const OVERRIDE; | 38 virtual bool IsDoingDrag() const OVERRIDE; |
| 39 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; | 39 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; |
| 40 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; | 40 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; |
| 41 | 41 |
| 42 // Overridden from views::NativeWidgetWin: | 42 // Overridden from views::NativeWidgetWin: |
| 43 | 43 |
| 44 internal::NativeTabContentsViewDelegate* delegate_; | 44 internal::NativeTabContentsViewDelegate* delegate_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura); | 46 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ | 49 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ |
| OLD | NEW |