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

Side by Side Diff: content/browser/content_browser_client.h

Issue 7135003: Remove last extension dependencies from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 6 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 | « content/browser/DEPS ('k') | content/browser/content_browser_client.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 CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback_old.h" 11 #include "base/callback_old.h"
12 #include "content/common/content_client.h" 12 #include "content/common/content_client.h"
13 #include "content/common/window_container_type.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h"
14 15
15 class BrowserRenderProcessHost; 16 class BrowserRenderProcessHost;
16 class CommandLine; 17 class CommandLine;
17 class FilePath; 18 class FilePath;
18 class GURL; 19 class GURL;
19 class PluginProcessHost; 20 class PluginProcessHost;
20 class Profile; 21 class Profile;
21 class QuotaPermissionContext; 22 class QuotaPermissionContext;
22 class RenderViewHost; 23 class RenderViewHost;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 int render_process_id, 166 int render_process_id,
166 int render_view_id, 167 int render_view_id,
167 bool worker); 168 bool worker);
168 169
169 // Cancels a displayed desktop notification. 170 // Cancels a displayed desktop notification.
170 virtual void CancelDesktopNotification( 171 virtual void CancelDesktopNotification(
171 int render_process_id, 172 int render_process_id,
172 int render_view_id, 173 int render_view_id,
173 int notification_id); 174 int notification_id);
174 175
176 // Returns true if the given page is allowed to open a window of the given
177 // type. This is called on the IO thread.
178 virtual bool CanCreateWindow(
179 const GURL& source_url,
180 WindowContainerType container_type,
181 const content::ResourceContext& context);
182
183 // Returns a title string to use in the task manager for a process host with
184 // the given URL, or the empty string to fall back to the default logic.
185 // This is called on the IO thread.
186 virtual std::string GetWorkerProcessTitle(
187 const GURL& url, const content::ResourceContext& context);
188
175 #if defined(OS_POSIX) && !defined(OS_MACOSX) 189 #if defined(OS_POSIX) && !defined(OS_MACOSX)
176 // Can return an optional fd for crash handling, otherwise returns -1. 190 // Can return an optional fd for crash handling, otherwise returns -1.
177 virtual int GetCrashSignalFD(const std::string& process_type); 191 virtual int GetCrashSignalFD(const std::string& process_type);
178 #endif 192 #endif
179 }; 193 };
180 194
181 } // namespace content 195 } // namespace content
182 196
183 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 197 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698