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

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
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
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 int render_process_id, 165 int render_process_id,
166 int render_view_id, 166 int render_view_id,
167 bool worker); 167 bool worker);
168 168
169 // Cancels a displayed desktop notification. 169 // Cancels a displayed desktop notification.
170 virtual void CancelDesktopNotification( 170 virtual void CancelDesktopNotification(
171 int render_process_id, 171 int render_process_id,
172 int render_view_id, 172 int render_view_id,
173 int notification_id); 173 int notification_id);
174 174
175 // Checks if the given page has access to the background window permission.
176 // This is called on the IO thread.
177 virtual bool CheckBackgroundPermission(
178 const GURL& source_url, const content::ResourceContext& context);
179
180 // Returns a title string to use in the task manager for a process host with
181 // the given URL, or the empty string to fall back to the default logic.
182 // This is called on the IO thread.
183 virtual std::string GetWorkerProcessTitle(
184 const GURL& url, const content::ResourceContext& context);
185
175 #if defined(OS_POSIX) && !defined(OS_MACOSX) 186 #if defined(OS_POSIX) && !defined(OS_MACOSX)
176 // Can return an optional fd for crash handling, otherwise returns -1. 187 // Can return an optional fd for crash handling, otherwise returns -1.
177 virtual int GetCrashSignalFD(const std::string& process_type); 188 virtual int GetCrashSignalFD(const std::string& process_type);
178 #endif 189 #endif
179 }; 190 };
180 191
181 } // namespace content 192 } // namespace content
182 193
183 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 194 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698