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_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_GTK_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_gtk.h" | 10 #include "views/widget/native_widget_gtk.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 void RemoveConstrainedWindow(ConstrainedWindowGtk* constrained_window); | 27 void RemoveConstrainedWindow(ConstrainedWindowGtk* constrained_window); |
28 | 28 |
29 | 29 |
30 private: | 30 private: |
31 // Overridden from NativeTabContentsView: | 31 // Overridden from NativeTabContentsView: |
32 virtual void InitNativeTabContentsView() OVERRIDE; | 32 virtual void InitNativeTabContentsView() OVERRIDE; |
33 virtual void Unparent() OVERRIDE; | 33 virtual void Unparent() OVERRIDE; |
34 virtual RenderWidgetHostView* CreateRenderWidgetHostView( | 34 virtual RenderWidgetHostView* CreateRenderWidgetHostView( |
35 RenderWidgetHost* render_widget_host) OVERRIDE; | 35 RenderWidgetHost* render_widget_host) OVERRIDE; |
36 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; | 36 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; |
37 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; | 37 virtual void SetPageTitle(const string16& title) OVERRIDE; |
38 virtual void StartDragging(const WebDropData& drop_data, | 38 virtual void StartDragging(const WebDropData& drop_data, |
39 WebKit::WebDragOperationsMask ops, | 39 WebKit::WebDragOperationsMask ops, |
40 const SkBitmap& image, | 40 const SkBitmap& image, |
41 const gfx::Point& image_offset) OVERRIDE; | 41 const gfx::Point& image_offset) OVERRIDE; |
42 virtual void CancelDrag() OVERRIDE; | 42 virtual void CancelDrag() OVERRIDE; |
43 virtual bool IsDoingDrag() const OVERRIDE; | 43 virtual bool IsDoingDrag() const OVERRIDE; |
44 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; | 44 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; |
45 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; | 45 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; |
46 | 46 |
47 // Overridden from views::NativeWidgetGtk: | 47 // Overridden from views::NativeWidgetGtk: |
(...skipping 30 matching lines...) Expand all Loading... |
78 | 78 |
79 // Each individual UI for constrained dialogs currently displayed. The | 79 // Each individual UI for constrained dialogs currently displayed. The |
80 // objects in this vector are owned by the TabContents, not the view. | 80 // objects in this vector are owned by the TabContents, not the view. |
81 std::vector<ConstrainedWindowGtk*> constrained_windows_; | 81 std::vector<ConstrainedWindowGtk*> constrained_windows_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewGtk); | 83 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewGtk); |
84 }; | 84 }; |
85 | 85 |
86 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_GTK_H_ | 86 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_GTK_H_ |
87 | 87 |
OLD | NEW |