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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 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_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 "ui/views/widget/native_widget_gtk.h" 10 #include "ui/views/widget/native_widget_gtk.h"
(...skipping 19 matching lines...) Expand all
30 // TabContentsViewGtk to position the dialogs. 30 // TabContentsViewGtk to position the dialogs.
31 void AttachConstrainedWindow(ConstrainedWindowGtk* constrained_window); 31 void AttachConstrainedWindow(ConstrainedWindowGtk* constrained_window);
32 void RemoveConstrainedWindow(ConstrainedWindowGtk* constrained_window); 32 void RemoveConstrainedWindow(ConstrainedWindowGtk* constrained_window);
33 33
34 34
35 private: 35 private:
36 // Overridden from NativeTabContentsView: 36 // Overridden from NativeTabContentsView:
37 virtual void InitNativeTabContentsView() OVERRIDE; 37 virtual void InitNativeTabContentsView() OVERRIDE;
38 virtual void Unparent() OVERRIDE; 38 virtual void Unparent() OVERRIDE;
39 virtual content::RenderWidgetHostView* CreateRenderWidgetHostView( 39 virtual content::RenderWidgetHostView* CreateRenderWidgetHostView(
40 RenderWidgetHost* render_widget_host) OVERRIDE; 40 content::RenderWidgetHost* render_widget_host) OVERRIDE;
41 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 41 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
42 virtual void SetPageTitle(const string16& title) OVERRIDE; 42 virtual void SetPageTitle(const string16& title) OVERRIDE;
43 virtual void StartDragging(const WebDropData& drop_data, 43 virtual void StartDragging(const WebDropData& drop_data,
44 WebKit::WebDragOperationsMask ops, 44 WebKit::WebDragOperationsMask ops,
45 const SkBitmap& image, 45 const SkBitmap& image,
46 const gfx::Point& image_offset) OVERRIDE; 46 const gfx::Point& image_offset) OVERRIDE;
47 virtual void CancelDrag() OVERRIDE; 47 virtual void CancelDrag() OVERRIDE;
48 virtual bool IsDoingDrag() const OVERRIDE; 48 virtual bool IsDoingDrag() const OVERRIDE;
49 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 49 virtual void SetDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
50 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; 50 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // Each individual UI for constrained dialogs currently displayed. The 87 // Each individual UI for constrained dialogs currently displayed. The
88 // objects in this vector are owned by the TabContents, not the view. 88 // objects in this vector are owned by the TabContents, not the view.
89 std::vector<ConstrainedWindowGtk*> constrained_windows_; 89 std::vector<ConstrainedWindowGtk*> constrained_windows_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewGtk); 91 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewGtk);
92 }; 92 };
93 93
94 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_GTK_H_ 94 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_GTK_H_
95 95
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698