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

Side by Side Diff: Source/core/loader/EmptyClients.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/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/page/ChromeClient.h » ('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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void setResizable(bool) override { } 103 void setResizable(bool) override { }
104 104
105 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de { return false; } 105 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de { return false; }
106 void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, const Str ing&, unsigned, const String&, const String&) override { } 106 void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, const Str ing&, unsigned, const String&, const String&) override { }
107 107
108 bool canOpenBeforeUnloadConfirmPanel() override { return false; } 108 bool canOpenBeforeUnloadConfirmPanel() override { return false; }
109 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&) overri de { return true; } 109 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&) overri de { return true; }
110 110
111 void closeWindowSoon() override { } 111 void closeWindowSoon() override { }
112 112
113 void openJavaScriptAlertDelegate(LocalFrame*, const String&) override { } 113 bool openJavaScriptAlertDelegate(LocalFrame*, const String&) override { retu rn false; }
114 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override { re turn false; } 114 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override { re turn false; }
115 bool openJavaScriptPromptDelegate(LocalFrame*, const String&, const String&, String&) override { return false; } 115 bool openJavaScriptPromptDelegate(LocalFrame*, const String&, const String&, String&) override { return false; }
116 116
117 bool hasOpenedPopup() const override { return false; } 117 bool hasOpenedPopup() const override { return false; }
118 PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, PopupMenuClient *) override; 118 PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, PopupMenuClient *) override;
119 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; } 119 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; }
120 120
121 void setStatusbarText(const String&) override { } 121 void setStatusbarText(const String&) override { }
122 122
123 bool tabsToLinks() override { return false; } 123 bool tabsToLinks() override { return false; }
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 virtual ~EmptyDragClient() { } 316 virtual ~EmptyDragClient() { }
317 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 317 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
318 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 318 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
319 }; 319 };
320 320
321 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 321 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
322 322
323 } // namespace blink 323 } // namespace blink
324 324
325 #endif // EmptyClients_h 325 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698