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

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 6330007: Don't use GetAsTabContents. Send notifications from TabContentsView instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const GURL& frame_url, 132 const GURL& frame_url,
133 const int flags, 133 const int flags,
134 IPC::Message* reply_msg, 134 IPC::Message* reply_msg,
135 bool* did_suppress_message); 135 bool* did_suppress_message);
136 virtual void Close(RenderViewHost* render_view_host); 136 virtual void Close(RenderViewHost* render_view_host);
137 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; 137 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
138 138
139 // RenderViewHostDelegate::View 139 // RenderViewHostDelegate::View
140 virtual void CreateNewWindow( 140 virtual void CreateNewWindow(
141 int route_id, 141 int route_id,
142 WindowContainerType window_container_type, 142 const ViewHostMsg_CreateWindow_Params& params);
143 const string16& frame_name);
144 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); 143 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
145 virtual void CreateNewFullscreenWidget(int route_id, 144 virtual void CreateNewFullscreenWidget(int route_id,
146 WebKit::WebPopupType popup_type); 145 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);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Used to measure how long it's been since the host was created. 279 // Used to measure how long it's been since the host was created.
281 PerfTimer since_created_; 280 PerfTimer since_created_;
282 281
283 // FileSelectHelper, lazily created. 282 // FileSelectHelper, lazily created.
284 scoped_ptr<FileSelectHelper> file_select_helper_; 283 scoped_ptr<FileSelectHelper> file_select_helper_;
285 284
286 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 285 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
287 }; 286 };
288 287
289 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 288 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698