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

Unified Diff: chrome/browser/cocoa/nswindow_local_state.h

Issue 536086: Mac: Save/restore task manager window pos and size. (Closed)
Patch Set: comments Created 10 years, 11 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/cocoa/nswindow_local_state.h
diff --git a/chrome/browser/cocoa/nswindow_local_state.h b/chrome/browser/cocoa/nswindow_local_state.h
deleted file mode 100644
index 93be19bc60f8a17aefeb0b5b41a261e7bc938bc6..0000000000000000000000000000000000000000
--- a/chrome/browser/cocoa/nswindow_local_state.h
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) 2009 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.
-
-class PrefService;
-@class NSWindow;
-
-// These additions to NSWindow assist in saving and restoring a window's
-// position to Chromium's local state preferences.
-
-@interface NSWindow (LocalStateAdditions)
-
-// Saves the window's origin into the given PrefService. Caller is responsible
-// for making sure |prefs| is not NULL.
-- (void)saveWindowPositionToPrefs:(PrefService*)prefs
- withPath:(const wchar_t*)path;
-
-- (void)restoreWindowPositionFromPrefs:(PrefService*)prefs
- withPath:(const wchar_t*)path;
-
-@end

Powered by Google App Engine
This is Rietveld 408576698