summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 16:44:57 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 16:44:57 +0000
commit415ad48ad827f0a88645069f2bb731d497f5f23e (patch)
treea9efe67f99ae4625badca6c19848487e27bc5dad /chrome/browser/automation/automation_provider.h
parentbd745438c31d1646cfb1e99a419e7b17dc2b90d2 (diff)
downloadchromium_src-415ad48ad827f0a88645069f2bb731d497f5f23e.zip
chromium_src-415ad48ad827f0a88645069f2bb731d497f5f23e.tar.gz
chromium_src-415ad48ad827f0a88645069f2bb731d497f5f23e.tar.bz2
This is the first of probably several patches trying to clean up the BlockedPopupContainer into something that can be cross-platform.
- BlokedPopupContainers are no longer ConstrainedWindows. - There is now a cross platform base class that contains most of the model/controller logic. The view now inherits from it. This is an improvement. Review URL: http://codereview.chromium.org/119006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r--chrome/browser/automation/automation_provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
index 1506868..3c49ddb 100644
--- a/chrome/browser/automation/automation_provider.h
+++ b/chrome/browser/automation/automation_provider.h
@@ -451,6 +451,9 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
void GetWindowTitle(int handle, string16* text);
+ // Returns the number of blocked popups in the tab |handle|.
+ void GetBlockedPopupCount(int handle, int* count);
+
// Convert a tab handle into a TabContents. If |tab| is non-NULL a pointer
// to the tab is also returned. Returns NULL in case of failure or if the tab
// is not of the TabContents type.