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_EXTENSIONS_EXTENSION_HOST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 IPC::Message* reply_msg, | 135 IPC::Message* reply_msg, |
136 bool* did_suppress_message); | 136 bool* did_suppress_message); |
137 virtual void Close(RenderViewHost* render_view_host); | 137 virtual void Close(RenderViewHost* render_view_host); |
138 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 138 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
139 | 139 |
140 // RenderViewHostDelegate::View | 140 // RenderViewHostDelegate::View |
141 virtual void CreateNewWindow( | 141 virtual void CreateNewWindow( |
142 int route_id, | 142 int route_id, |
143 const ViewHostMsg_CreateWindow_Params& params); | 143 const ViewHostMsg_CreateWindow_Params& params); |
144 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 144 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
145 virtual void CreateNewFullscreenWidget(int route_id, | 145 virtual void CreateNewFullscreenWidget(int route_id); |
146 WebKit::WebPopupType popup_type); | |
147 virtual void ShowCreatedWindow(int route_id, | 146 virtual void ShowCreatedWindow(int route_id, |
148 WindowOpenDisposition disposition, | 147 WindowOpenDisposition disposition, |
149 const gfx::Rect& initial_pos, | 148 const gfx::Rect& initial_pos, |
150 bool user_gesture); | 149 bool user_gesture); |
151 virtual void ShowCreatedWidget(int route_id, | 150 virtual void ShowCreatedWidget(int route_id, |
152 const gfx::Rect& initial_pos); | 151 const gfx::Rect& initial_pos); |
153 virtual void ShowCreatedFullscreenWidget(int route_id); | 152 virtual void ShowCreatedFullscreenWidget(int route_id); |
154 virtual void ShowContextMenu(const ContextMenuParams& params); | 153 virtual void ShowContextMenu(const ContextMenuParams& params); |
155 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 154 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
156 int item_height, | 155 int item_height, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 // FileSelectHelper, lazily created. | 285 // FileSelectHelper, lazily created. |
287 scoped_ptr<FileSelectHelper> file_select_helper_; | 286 scoped_ptr<FileSelectHelper> file_select_helper_; |
288 | 287 |
289 // Handles desktop notification IPCs. | 288 // Handles desktop notification IPCs. |
290 scoped_ptr<DesktopNotificationHandler> desktop_notification_handler_; | 289 scoped_ptr<DesktopNotificationHandler> desktop_notification_handler_; |
291 | 290 |
292 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 291 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
293 }; | 292 }; |
294 | 293 |
295 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 294 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
OLD | NEW |