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

Unified Diff: chrome/browser/tab_contents/constrained_window.h

Issue 392018: Enforce that only one constrained window is displayed at once per tab. (Closed)
Patch Set: Set focus correctly on linux Created 11 years, 1 month 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 | « chrome/browser/login_prompt_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/constrained_window.h
diff --git a/chrome/browser/tab_contents/constrained_window.h b/chrome/browser/tab_contents/constrained_window.h
index 057ee2745f56e3b1caa5984f21857166dcc0b58b..dacf8c7363a4e1248f61802c2b84ba4d6d2e8d80 100644
--- a/chrome/browser/tab_contents/constrained_window.h
+++ b/chrome/browser/tab_contents/constrained_window.h
@@ -35,10 +35,15 @@ class ConstrainedWindow {
// Create a Constrained Window that contains a platform specific client
// area. Typical uses include the HTTP Basic Auth prompt. The caller must
// provide a delegate to describe the content area and to respond to events.
+ // The ConstrainedWindow should not be visible after creation.
static ConstrainedWindow* CreateConstrainedDialog(
TabContents* owner,
ConstrainedWindowDelegate* delegate);
+ // Makes the Constrained Window visible. Only one Constrained Window is shown
+ // at a time per tab.
+ virtual void ShowConstrainedWindow() = 0;
+
// Closes the Constrained Window.
virtual void CloseConstrainedWindow() = 0;
};
« no previous file with comments | « chrome/browser/login_prompt_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698