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

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

Issue 7206055: Add an option to run Chrome in the views desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H_
7 #pragma once
8
9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h"
10 #include "views/widget/native_widget_views.h"
11
12 class TabContents;
13
14 class NativeTabContentsViewViews : public views::NativeWidgetViews,
15 public NativeTabContentsView {
16 public:
17 explicit NativeTabContentsViewViews(
18 internal::NativeTabContentsViewDelegate* delegate);
19 virtual ~NativeTabContentsViewViews();
20
21 private:
22 // Overridden from NativeTabContentsView:
23 virtual void InitNativeTabContentsView() OVERRIDE;
24 virtual void Unparent() OVERRIDE;
25 virtual RenderWidgetHostView* CreateRenderWidgetHostView(
26 RenderWidgetHost* render_widget_host) OVERRIDE;
27 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
28 virtual void SetPageTitle(const std::wstring& title) OVERRIDE;
29 virtual void StartDragging(const WebDropData& drop_data,
30 WebKit::WebDragOperationsMask ops,
31 const SkBitmap& image,
32 const gfx::Point& image_offset) OVERRIDE;
33 virtual void CancelDrag() OVERRIDE;
34 virtual bool IsDoingDrag() const OVERRIDE;
35 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
36 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
37
38 internal::NativeTabContentsViewDelegate* delegate_;
39
40 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewViews);
41 };
42
43 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_VIEWS_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698