summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/options/options_window_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/options/options_window_view.h')
-rw-r--r--chrome/browser/chromeos/options/options_window_view.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/options/options_window_view.h b/chrome/browser/chromeos/options/options_window_view.h
new file mode 100644
index 0000000..a6b31b6
--- /dev/null
+++ b/chrome/browser/chromeos/options/options_window_view.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2010 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_OPTIONS_OPTIONS_WINDOW_VIEW_H_
+#define CHROME_BROWSER_CHROMEOS_OPTIONS_OPTIONS_WINDOW_VIEW_H_
+
+namespace chromeos {
+
+// Closes the options dialog.
+void CloseOptionsWindow();
+
+// Get a proper parent for options dialogs. This returns the last active browser
+// window for now.
+gfx::NativeWindow GetOptionsViewParent();
+
+}
+
+#endif // CHROME_BROWSER_CHROMEOS_OPTIONS_OPTIONS_WINDOW_VIEW_H_