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

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

Issue 8771032: Cleanup: Use a scoper in JSModalDialogViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | chrome/browser/ui/views/js_modal_dialog_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/js_modal_dialog_views.h
===================================================================
--- chrome/browser/ui/views/js_modal_dialog_views.h (revision 112431)
+++ chrome/browser/ui/views/js_modal_dialog_views.h (working copy)
@@ -6,12 +6,12 @@
#define CHROME_BROWSER_UI_VIEWS_JS_MODAL_DIALOG_VIEWS_H_
#pragma once
-#include <string>
-
-#include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h"
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h"
#include "ui/views/window/dialog_delegate.h"
+class JavaScriptAppModalDialog;
+
namespace views {
class MessageBoxView;
}
@@ -50,7 +50,7 @@
private:
// A pointer to the AppModalDialog that owns us.
- JavaScriptAppModalDialog* parent_;
+ scoped_ptr<JavaScriptAppModalDialog> parent_;
// The message box view whose commands we handle.
views::MessageBoxView* message_box_view_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/js_modal_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698