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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 1714573002: Remove the ability of webpages to specify strings for the onbeforeunload dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 9 months 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool scrollbarsVisible() override; 75 bool scrollbarsVisible() override;
76 void setMenubarVisible(bool) override; 76 void setMenubarVisible(bool) override;
77 bool menubarVisible() override; 77 bool menubarVisible() override;
78 void setResizable(bool) override; 78 void setResizable(bool) override;
79 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de; 79 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de;
80 void addMessageToConsole( 80 void addMessageToConsole(
81 LocalFrame*, MessageSource, MessageLevel, 81 LocalFrame*, MessageSource, MessageLevel,
82 const String& message, unsigned lineNumber, 82 const String& message, unsigned lineNumber,
83 const String& sourceID, const String& stackTrace) override; 83 const String& sourceID, const String& stackTrace) override;
84 bool canOpenBeforeUnloadConfirmPanel() override; 84 bool canOpenBeforeUnloadConfirmPanel() override;
85 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&, bool i sReload) override; 85 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, bool isReload) overri de;
86 void closeWindowSoon() override; 86 void closeWindowSoon() override;
87 bool openJavaScriptAlertDelegate(LocalFrame*, const String&) override; 87 bool openJavaScriptAlertDelegate(LocalFrame*, const String&) override;
88 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override; 88 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override;
89 bool openJavaScriptPromptDelegate( 89 bool openJavaScriptPromptDelegate(
90 LocalFrame*, const String& message, 90 LocalFrame*, const String& message,
91 const String& defaultValue, String& result) override; 91 const String& defaultValue, String& result) override;
92 void setStatusbarText(const String& message) override; 92 void setStatusbarText(const String& message) override;
93 bool tabsToLinks() override; 93 bool tabsToLinks() override;
94 IntRect windowResizerRect() const override; 94 IntRect windowResizerRect() const override;
95 void invalidateRect(const IntRect&) override; 95 void invalidateRect(const IntRect&) override;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 Cursor m_lastSetMouseCursorForTesting; 196 Cursor m_lastSetMouseCursorForTesting;
197 bool m_cursorOverridden; 197 bool m_cursorOverridden;
198 bool m_didRequestNonEmptyToolTip; 198 bool m_didRequestNonEmptyToolTip;
199 }; 199 };
200 200
201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
202 202
203 } // namespace blink 203 } // namespace blink
204 204
205 #endif 205 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698