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

Unified Diff: chrome/browser/ui/views/simple_message_box_win.h

Issue 23291003: Don't try to use compositor to display dialog before compositor is initialized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactor to avoid copying Created 7 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/ui/views/simple_message_box_win.h
diff --git a/chrome/browser/ui/views/simple_message_box_win.h b/chrome/browser/ui/views/simple_message_box_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..75dee4aa0e1c75dfb3cc82bcf23360a9afff137d
--- /dev/null
+++ b/chrome/browser/ui/views/simple_message_box_win.h
@@ -0,0 +1,19 @@
+// Copyright 2013 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_UI_VIEWS_SIMPLE_MESSAGE_BOX_WIN_H_
+#define CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_WIN_H_
+
+#include "chrome/browser/ui/simple_message_box.h"
+
+namespace chrome {
+
+MessageBoxResult NativeShowMessageBox(HWND parent,
+ const string16& title,
+ const string16& message,
+ MessageBoxType type);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_WIN_H_
« no previous file with comments | « chrome/browser/ui/views/simple_message_box_views.cc ('k') | chrome/browser/ui/views/simple_message_box_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698