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

Side by Side Diff: content/browser/web_contents/web_contents_view_gtk.h

Issue 9956154: TabContents -> WebContentsImpl, part 16 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 scoped_ptr<WebDragDestGtk> drag_dest_; 132 scoped_ptr<WebDragDestGtk> drag_dest_;
133 133
134 // Object responsible for handling drags from the page for us. 134 // Object responsible for handling drags from the page for us.
135 scoped_ptr<WebDragSourceGtk> drag_source_; 135 scoped_ptr<WebDragSourceGtk> drag_source_;
136 136
137 // Our optional views wrapper. If non-NULL, we return this widget as our 137 // Our optional views wrapper. If non-NULL, we return this widget as our
138 // GetNativeView() and insert |expanded_| as its child in the GtkWidget 138 // GetNativeView() and insert |expanded_| as its child in the GtkWidget
139 // hierarchy. 139 // hierarchy.
140 scoped_ptr<WebContentsViewDelegate> delegate_; 140 scoped_ptr<WebContentsViewDelegate> delegate_;
141 141
142 // The size we want the tab contents view to be. We keep this in a separate 142 // The size we want the view to be. We keep this in a separate variable
143 // variable because resizing in GTK+ is async. 143 // because resizing in GTK+ is async.
144 gfx::Size requested_size_; 144 gfx::Size requested_size_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk); 146 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk);
147 }; 147 };
148 148
149 } // namespace content 149 } // namespace content
150 150
151 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 151 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/web_contents/web_drag_dest_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698