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

Unified Diff: chrome/browser/extensions/api/tabs/tabs.h

Issue 10692110: screenshot disabling policy (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comments (2), hooking into GrabWindowSnapshot instead of ChromeShellDelegate, rebased on … Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/tabs/tabs.h
diff --git a/chrome/browser/extensions/api/tabs/tabs.h b/chrome/browser/extensions/api/tabs/tabs.h
index 14276a07d01149cfd1e43f2e22cc7f51f380a487..e4901ed0aecf624d2df4589982455c9164af3262 100644
--- a/chrome/browser/extensions/api/tabs/tabs.h
+++ b/chrome/browser/extensions/api/tabs/tabs.h
@@ -17,6 +17,7 @@
class BackingStore;
class GURL;
+class PrefService;
class SkBitmap;
class TabContents;
@@ -165,6 +166,9 @@ class DetectTabLanguageFunction : public AsyncExtensionFunction,
};
class CaptureVisibleTabFunction : public AsyncExtensionFunction,
public content::NotificationObserver {
+ public:
+ static void RegisterUserPrefs(PrefService* service);
+
protected:
enum ImageFormat {
FORMAT_JPEG,

Powered by Google App Engine
This is Rietveld 408576698