summaryrefslogtreecommitdiffstats
path: root/components/web_modal.gypi
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-16 04:37:54 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-16 04:37:54 +0000
commite41d0086cc673a9055bbf2bb071c51a141687c22 (patch)
treef9a45bfe8d6f582c556fb14205c25be8eb949e85 /components/web_modal.gypi
parented223af80f326118beb39227876684ce3ceb6257 (diff)
downloadchromium_src-e41d0086cc673a9055bbf2bb071c51a141687c22.zip
chromium_src-e41d0086cc673a9055bbf2bb071c51a141687c22.tar.gz
chromium_src-e41d0086cc673a9055bbf2bb071c51a141687c22.tar.bz2
components: Create web_modal component.
Notable changes: * Move WebContentsModalDialog related classes into components/web_modal/ * Use namespace web_modal * Move the logic for sending the Chrome IPC message out of WebContentsModalDialogManager, and into ChromeModalDialogManager. Have Browser and ShellWindow subclass ChromeModalDialogManager, instead of directly from WebContentsModalDialogManager, to be able to send the IPC. * Introduce WebContentsModalDialogManagerDelegate::IsWebContentsVisibile. This is necessary to remove the dependency on platform_util. BUG=241278 R=ben@chromium.org, wittman@chromium.org Review URL: https://codereview.chromium.org/14969012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200448 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/web_modal.gypi')
-rw-r--r--components/web_modal.gypi33
1 files changed, 33 insertions, 0 deletions
diff --git a/components/web_modal.gypi b/components/web_modal.gypi
new file mode 100644
index 0000000..f2db7d4
--- /dev/null
+++ b/components/web_modal.gypi
@@ -0,0 +1,33 @@
+# Copyright (c) 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'web_modal',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_browser',
+ '../skia/skia.gyp:skia',
+ ],
+ 'defines': [
+ 'WEB_MODAL_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'web_modal/native_web_contents_modal_dialog.h',
+ 'web_modal/native_web_contents_modal_dialog_manager.h',
+ 'web_modal/web_contents_modal_dialog_host.cc',
+ 'web_modal/web_contents_modal_dialog_host.h',
+ 'web_modal/web_contents_modal_dialog_manager.cc',
+ 'web_modal/web_contents_modal_dialog_manager.h',
+ 'web_modal/web_contents_modal_dialog_manager_delegate.cc',
+ 'web_modal/web_contents_modal_dialog_manager_delegate.h',
+ ],
+ },
+ ],
+}