| Index: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h
|
| ===================================================================
|
| --- chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h (revision 0)
|
| +++ chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h (revision 0)
|
| @@ -0,0 +1,49 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
|
| +#pragma once
|
| +
|
| +#include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h"
|
| +#include "views/widget/native_widget_aura.h"
|
| +
|
| +class TabContents;
|
| +
|
| +class NativeTabContentsViewAura : public views::NativeWidgetAura,
|
| + public NativeTabContentsView {
|
| + public:
|
| + explicit NativeTabContentsViewAura(
|
| + internal::NativeTabContentsViewDelegate* delegate);
|
| + virtual ~NativeTabContentsViewAura();
|
| +
|
| + TabContents* GetTabContents() const;
|
| +
|
| + void EndDragging();
|
| +
|
| + private:
|
| + // Overridden from NativeTabContentsView:
|
| + virtual void InitNativeTabContentsView() OVERRIDE;
|
| + virtual void Unparent() OVERRIDE;
|
| + virtual RenderWidgetHostView* CreateRenderWidgetHostView(
|
| + RenderWidgetHost* render_widget_host) OVERRIDE;
|
| + virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
|
| + virtual void SetPageTitle(const std::wstring& title) OVERRIDE;
|
| + virtual void StartDragging(const WebDropData& drop_data,
|
| + WebKit::WebDragOperationsMask ops,
|
| + const SkBitmap& image,
|
| + const gfx::Point& image_offset) OVERRIDE;
|
| + virtual void CancelDrag() OVERRIDE;
|
| + virtual bool IsDoingDrag() const OVERRIDE;
|
| + virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
|
| + virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
|
| +
|
| + // Overridden from views::NativeWidgetWin:
|
| +
|
| + internal::NativeTabContentsViewDelegate* delegate_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
|
|
|
| Property changes on: chrome\browser\ui\views\tab_contents\native_tab_contents_view_aura.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|