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

Unified Diff: chrome/browser/ui/window_snapshot/window_snapshot.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/ui/window_snapshot/window_snapshot.h
diff --git a/chrome/browser/ui/window_snapshot/window_snapshot.h b/chrome/browser/ui/window_snapshot/window_snapshot.h
index 890886a58c0b965439fa101deb85a615e5111438..f685ab52bbf6c7dedd5e70063e14a7299e840732 100644
--- a/chrome/browser/ui/window_snapshot/window_snapshot.h
+++ b/chrome/browser/ui/window_snapshot/window_snapshot.h
@@ -10,6 +10,8 @@
#include "ui/gfx/native_widget_types.h"
+class PrefService;
+
namespace gfx {
class Rect;
}
@@ -24,6 +26,10 @@ bool GrabWindowSnapshot(gfx::NativeWindow window,
std::vector<unsigned char>* png_representation,
const gfx::Rect& snapshot_bounds);
+#if defined(OS_CHROMEOS)
+void RegisterPrefs(PrefService* service);
Mattias Nissler (ping if slow) 2012/07/12 08:59:32 This should have a better name. browser::RegisterP
qfel 2012/07/12 14:48:06 Most of the stuff called in RegisterLocalState (br
+#endif
+
} // namespace browser
#endif // CHROME_BROWSER_UI_WINDOW_SNAPSHOT_WINDOW_SNAPSHOT_H_

Powered by Google App Engine
This is Rietveld 408576698