summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser.gypi
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 11:59:02 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 11:59:02 +0000
commit965bb0937dc924fbabe69a350c427aa3d84f76ab (patch)
treece6e1ebfa7f64a97467e2b1555cfd26462676d86 /chrome/chrome_browser.gypi
parente14c72d324f6eddfc0f1b1d462ea7e897da5fc1c (diff)
downloadchromium_src-965bb0937dc924fbabe69a350c427aa3d84f76ab.zip
chromium_src-965bb0937dc924fbabe69a350c427aa3d84f76ab.tar.gz
chromium_src-965bb0937dc924fbabe69a350c427aa3d84f76ab.tar.bz2
Refactor common, platform-independent code for the repost form warning dialog on all platforms into a delegate.
The platform-dependent ConstrainedWindow{Gtk,Mac,Win} classes each have their own platform-dependent |ConstrainedWindowDelegate| to inherit from, so instead of a common superclass they now have a RepostFormWarningDelegate. Also, change the RELOADING notification to REPOST_WARNING_SHOWN to avoid trying to close the dialog while it's already in the process of being closed. BUG=none TEST=RepostFormWarningTest.* Review URL: http://codereview.chromium.org/1520023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r--chrome/chrome_browser.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 7c328e8..b323f802 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -1848,6 +1848,8 @@
'browser/renderer_host/x509_user_cert_resource_handler.h',
'browser/renderer_preferences_util.cc',
'browser/renderer_preferences_util.h',
+ 'browser/repost_form_warning_controller.cc',
+ 'browser/repost_form_warning_controller.h',
'browser/rlz/rlz.cc',
'browser/rlz/rlz.h',
'browser/safe_browsing/bloom_filter.cc',