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

Unified Diff: chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.h

Issue 9705053: Remove tab_contents_view_gtk.h include from chrome. I tried to find a way to not have to expose the… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.h
===================================================================
--- chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.h (revision 126737)
+++ chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.h (working copy)
@@ -28,6 +28,12 @@
explicit ChromeWebContentsViewDelegateGtk(content::WebContents* web_contents);
virtual ~ChromeWebContentsViewDelegateGtk();
+ static ChromeWebContentsViewDelegateGtk* GetFor(
+ content::WebContents* web_contents);
+
+ GtkWidget* expanded_container() { return expanded_container_; }
+ ui::FocusStoreGtk* focus_store() { return focus_store_; }
+
// Unlike Windows, ConstrainedWindows need to collaborate with the
// TabContentsViewGtk to position the dialogs.
void AttachConstrainedWindow(ConstrainedWindowGtk* constrained_window);
@@ -37,7 +43,8 @@
virtual void ShowContextMenu(
const content::ContextMenuParams& params) OVERRIDE;
virtual content::WebDragDestDelegate* GetDragDestDelegate() OVERRIDE;
- virtual void Initialize(GtkWidget* expanded_container) OVERRIDE;
+ virtual void Initialize(GtkWidget* expanded_container,
+ ui::FocusStoreGtk* focus_store) OVERRIDE;
virtual gfx::NativeView GetNativeView() const OVERRIDE;
virtual void Focus() OVERRIDE;
virtual gboolean OnNativeViewFocusEvent(GtkWidget* widget,
@@ -65,6 +72,9 @@
scoped_ptr<WebDragBookmarkHandlerGtk> bookmark_handler_gtk_;
content::WebContents* web_contents_;
+
+ GtkWidget* expanded_container_;
+ ui::FocusStoreGtk* focus_store_;
};
#endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_WEB_CONTENTS_VIEW_DELEGATE_GTK_H_
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698