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

Unified Diff: chrome/browser/js_before_unload_handler_win.h

Issue 63033: Refactor AppModalDialogQueue and move JS Alert boxes into a MVC. (Closed)
Patch Set: whitespace Created 11 years, 8 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
« no previous file with comments | « chrome/browser/js_before_unload_handler.h ('k') | chrome/browser/js_before_unload_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/js_before_unload_handler_win.h
diff --git a/chrome/browser/js_before_unload_handler_win.h b/chrome/browser/js_before_unload_handler_win.h
deleted file mode 100644
index 7b3d9d88f2f99c088b8fb6108a9bb20aff9eb582..0000000000000000000000000000000000000000
--- a/chrome/browser/js_before_unload_handler_win.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2006-2008 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_JS_BEFORE_UNLOAD_HANDLER_WIN_H_
-#define CHROME_BROWSER_JS_BEFORE_UNLOAD_HANDLER_WIN_H_
-
-#include "chrome/browser/jsmessage_box_handler_win.h"
-
-class WebContents;
-
-class JavascriptBeforeUnloadHandler : public JavascriptMessageBoxHandler {
- public:
- // Cross-platform code should use RunBeforeUnloadDialog.
- JavascriptBeforeUnloadHandler(WebContents* web_contents,
- const GURL& frame_url,
- const std::wstring& message_text,
- IPC::Message* reply_msg);
- virtual ~JavascriptBeforeUnloadHandler() {}
-
- // views::DialogDelegate Methods:
- virtual std::wstring GetWindowTitle() const;
- virtual std::wstring GetDialogButtonLabel(DialogButton button) const;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(JavascriptBeforeUnloadHandler);
-};
-
-#endif // CHROME_BROWSER_JS_BEFORE_UNLOAD_HANDLER_WIN_H_
« no previous file with comments | « chrome/browser/js_before_unload_handler.h ('k') | chrome/browser/js_before_unload_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698