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

Unified Diff: chrome/browser/chromeos/display_preferences.h

Issue 10870036: Allow storing display preferences per device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/chromeos/display_preferences.h
diff --git a/chrome/browser/chromeos/display_preferences.h b/chrome/browser/chromeos/display_preferences.h
new file mode 100644
index 0000000000000000000000000000000000000000..5e7d8101148fac7aa2d87b4f6b44288c3e81e306
--- /dev/null
+++ b/chrome/browser/chromeos/display_preferences.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_DISPLAY_PREFERENCES_H_
+#define CHROME_BROWSER_CHROMEOS_DISPLAY_PREFERENCES_H_
+
+class PrefService;
+namespace gfx {
+class Display;
+}
+
+namespace chromeos {
+
+void RegisterDisplayPrefs(PrefService* pref_service);
+
+void SetDisplayLayoutPref(PrefService* pref_service,
+ const gfx::Display& display,
+ int layout,
+ int offset);
+
+void NotifyDisplayPrefChanged(PrefService* pref_service);
oshima 2012/08/29 00:10:44 document these
Jun Mukai 2012/08/29 02:15:03 Done.
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_DISPLAY_PREFERENCES_H_

Powered by Google App Engine
This is Rietveld 408576698