summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-19 22:16:28 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-19 22:16:28 +0000
commite838217a07f277f8bf751aaaac6fb1005a533d47 (patch)
treef34f7f4522a9eed3a8172751fb1a3202705c16f6 /chrome/common/temp_scaffolding_stubs.h
parente804e052523e23df3881132ab2e31791e0c0d1b6 (diff)
downloadchromium_src-e838217a07f277f8bf751aaaac6fb1005a533d47.zip
chromium_src-e838217a07f277f8bf751aaaac6fb1005a533d47.tar.gz
chromium_src-e838217a07f277f8bf751aaaac6fb1005a533d47.tar.bz2
GTK: HTTP Auth dialogs under linux.
- Implements a ConstrainedWindowGtk which positions itself in the center of its corresponding TabContentsViewGtk. - Implements LoginPromptGtk. HTTP Auth now works under Linux. - Renames ConstrainedWindowImpl to ConstrainedWindowWin http://crbug.com/11512 Review URL: http://codereview.chromium.org/132047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r--chrome/common/temp_scaffolding_stubs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 78a42a1..3bf3a8e 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -347,6 +347,7 @@ class HtmlDialogContents {
};
};
+#if defined(OS_MACOSX)
class LoginHandler {
public:
void SetAuth(const std::wstring& username,
@@ -356,14 +357,17 @@ class LoginHandler {
void CancelAuth() { NOTIMPLEMENTED(); }
void OnRequestCancelled() { NOTIMPLEMENTED(); }
};
+#endif
namespace net {
class AuthChallengeInfo;
}
+#if defined(OS_MACOSX)
LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info,
URLRequest* request,
MessageLoop* ui_loop);
+#endif
class RepostFormWarningDialog {
public: