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

Side by Side Diff: chrome/browser/views/repost_form_warning_view.h

Issue 1657005: Merge 44481 - Ensure proper teardown of repost form warning objects.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/375/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/repost_form_warning_controller.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_
7 7
8 #include "chrome/browser/tab_contents/constrained_window.h" 8 #include "chrome/browser/tab_contents/constrained_window.h"
9 #include "chrome/common/notification_registrar.h" 9 #include "chrome/common/notification_registrar.h"
10 #include "gfx/native_widget_types.h" 10 #include "gfx/native_widget_types.h"
(...skipping 30 matching lines...) Expand all
41 41
42 // views::WindowDelegate Methods: 42 // views::WindowDelegate Methods:
43 virtual views::View* GetContentsView(); 43 virtual views::View* GetContentsView();
44 44
45 private: 45 private:
46 virtual ~RepostFormWarningView(); 46 virtual ~RepostFormWarningView();
47 47
48 // The message box view whose commands we handle. 48 // The message box view whose commands we handle.
49 MessageBoxView* message_box_view_; 49 MessageBoxView* message_box_view_;
50 50
51 RepostFormWarningController* controller_; 51 scoped_ptr<RepostFormWarningController> controller_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningView); 53 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningView);
54 }; 54 };
55 55
56 #endif // CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ 56 #endif // CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/repost_form_warning_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698