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

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

Issue 10378026: Reland 135525 - Add a first-class off-store install UI to chrome://extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual void OnTabCrashed(base::TerminationStatus status, 53 virtual void OnTabCrashed(base::TerminationStatus status,
54 int error_code) OVERRIDE; 54 int error_code) OVERRIDE;
55 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 55 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
56 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; 56 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE;
57 virtual void Focus() OVERRIDE; 57 virtual void Focus() OVERRIDE;
58 virtual void SetInitialFocus() OVERRIDE; 58 virtual void SetInitialFocus() OVERRIDE;
59 virtual void StoreFocus() OVERRIDE; 59 virtual void StoreFocus() OVERRIDE;
60 virtual void RestoreFocus() OVERRIDE; 60 virtual void RestoreFocus() OVERRIDE;
61 virtual bool IsDoingDrag() const OVERRIDE; 61 virtual bool IsDoingDrag() const OVERRIDE;
62 virtual void CancelDragAndCloseTab() OVERRIDE; 62 virtual void CancelDragAndCloseTab() OVERRIDE;
63 virtual WebDropData* GetDropData() const OVERRIDE;
63 virtual bool IsEventTracking() const OVERRIDE; 64 virtual bool IsEventTracking() const OVERRIDE;
64 virtual void CloseTabAfterEventTracking() OVERRIDE; 65 virtual void CloseTabAfterEventTracking() OVERRIDE;
65 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 66 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
66 67
67 // Backend implementation of RenderViewHostDelegate::View. 68 // Backend implementation of RenderViewHostDelegate::View.
68 virtual void CreateNewWindow( 69 virtual void CreateNewWindow(
69 int route_id, 70 int route_id,
70 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; 71 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE;
71 virtual void CreateNewWidget(int route_id, 72 virtual void CreateNewWidget(int route_id,
72 WebKit::WebPopupType popup_type) OVERRIDE; 73 WebKit::WebPopupType popup_type) OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // The size we want the view to be. We keep this in a separate variable 143 // The size we want the view to be. We keep this in a separate variable
143 // because resizing in GTK+ is async. 144 // because resizing in GTK+ is async.
144 gfx::Size requested_size_; 145 gfx::Size requested_size_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk); 147 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk);
147 }; 148 };
148 149
149 } // namespace content 150 } // namespace content
150 151
151 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 152 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | content/browser/web_contents/web_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698