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

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

Issue 1180843006: [DevTools] Add dialog type and return value to Page.javascriptDialog{Opening,Closed}. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: frontend Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool menubarVisible() override; 76 bool menubarVisible() override;
77 void setResizable(bool) override; 77 void setResizable(bool) override;
78 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de; 78 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de;
79 void addMessageToConsole( 79 void addMessageToConsole(
80 LocalFrame*, MessageSource, MessageLevel, 80 LocalFrame*, MessageSource, MessageLevel,
81 const String& message, unsigned lineNumber, 81 const String& message, unsigned lineNumber,
82 const String& sourceID, const String& stackTrace) override; 82 const String& sourceID, const String& stackTrace) override;
83 bool canOpenBeforeUnloadConfirmPanel() override; 83 bool canOpenBeforeUnloadConfirmPanel() override;
84 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&) overri de; 84 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&) overri de;
85 void closeWindowSoon() override; 85 void closeWindowSoon() override;
86 void openJavaScriptAlertDelegate(LocalFrame*, const String&) override; 86 bool openJavaScriptAlertDelegate(LocalFrame*, const String&) override;
87 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override; 87 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override;
88 bool openJavaScriptPromptDelegate( 88 bool openJavaScriptPromptDelegate(
89 LocalFrame*, const String& message, 89 LocalFrame*, const String& message,
90 const String& defaultValue, String& result) override; 90 const String& defaultValue, String& result) override;
91 void setStatusbarText(const String& message) override; 91 void setStatusbarText(const String& message) override;
92 bool tabsToLinks() override; 92 bool tabsToLinks() override;
93 IntRect windowResizerRect() const override; 93 IntRect windowResizerRect() const override;
94 void invalidateRect(const IntRect&) override; 94 void invalidateRect(const IntRect&) override;
95 void scheduleAnimation() override; 95 void scheduleAnimation() override;
96 void scheduleAnimationForFrame(LocalFrame* localRoot) override; 96 void scheduleAnimationForFrame(LocalFrame* localRoot) override;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 WindowFeatures m_windowFeatures; 178 WindowFeatures m_windowFeatures;
179 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 179 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
180 Cursor m_lastSetMouseCursorForTesting; 180 Cursor m_lastSetMouseCursorForTesting;
181 }; 181 };
182 182
183 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 183 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
184 184
185 } // namespace blink 185 } // namespace blink
186 186
187 #endif 187 #endif
OLDNEW
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698