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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 1149093010: Cleanup: Rename ChromeClient function names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/layout/LayoutMenuList.cpp ('k') | Source/core/loader/EmptyClients.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) 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool scrollbarsVisible() override { return false; } 95 bool scrollbarsVisible() override { return false; }
96 96
97 void setMenubarVisible(bool) override { } 97 void setMenubarVisible(bool) override { }
98 bool menubarVisible() override { return false; } 98 bool menubarVisible() override { return false; }
99 99
100 void setResizable(bool) override { } 100 void setResizable(bool) override { }
101 101
102 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de { return false; } 102 bool shouldReportDetailedMessageForSource(LocalFrame&, const String&) overri de { return false; }
103 void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, const Str ing&, unsigned, const String&, const String&) override { } 103 void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, const Str ing&, unsigned, const String&, const String&) override { }
104 104
105 bool canRunBeforeUnloadConfirmPanel() override { return false; } 105 bool canOpenBeforeUnloadConfirmPanel() override { return false; }
106 bool runBeforeUnloadConfirmPanelInternal(LocalFrame*, const String&) overrid e { return true; } 106 bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&) overri de { return true; }
107 107
108 void closeWindowSoon() override { } 108 void closeWindowSoon() override { }
109 109
110 void runJavaScriptAlertInternal(LocalFrame*, const String&) override { } 110 void openJavaScriptAlertDelegate(LocalFrame*, const String&) override { }
111 bool runJavaScriptConfirmInternal(LocalFrame*, const String&) override { ret urn false; } 111 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override { re turn false; }
112 bool runJavaScriptPromptInternal(LocalFrame*, const String&, const String&, String&) override { return false; } 112 bool openJavaScriptPromptDelegate(LocalFrame*, const String&, const String&, String&) override { return false; }
113 113
114 bool hasOpenedPopup() const override { return false; } 114 bool hasOpenedPopup() const override { return false; }
115 PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClie nt*) override; 115 PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, PopupMenuClient *) override;
116 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; } 116 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; }
117 117
118 void setStatusbarText(const String&) override { } 118 void setStatusbarText(const String&) override { }
119 119
120 bool tabsToLinks() override { return false; } 120 bool tabsToLinks() override { return false; }
121 121
122 IntRect windowResizerRect() const override { return IntRect(); } 122 IntRect windowResizerRect() const override { return IntRect(); }
123 123
124 void invalidateRect(const IntRect&) override { } 124 void invalidateRect(const IntRect&) override { }
125 void scheduleAnimation() override { } 125 void scheduleAnimation() override { }
126 126
127 IntRect viewportToScreen(const IntRect& r) const override { return r; } 127 IntRect viewportToScreen(const IntRect& r) const override { return r; }
128 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } 128 WebScreenInfo screenInfo() const override { return WebScreenInfo(); }
129 void contentsSizeChanged(LocalFrame*, const IntSize&) const override { } 129 void contentsSizeChanged(LocalFrame*, const IntSize&) const override { }
130 130
131 void showMouseOverURL(const HitTestResult&) override { } 131 void showMouseOverURL(const HitTestResult&) override { }
132 132
133 void setToolTip(const String&, TextDirection) override { } 133 void setToolTip(const String&, TextDirection) override { }
134 134
135 void printInternal(LocalFrame*) override { } 135 void printDelegate(LocalFrame*) override { }
136 136
137 void enumerateChosenDirectory(FileChooser*) override { } 137 void enumerateChosenDirectory(FileChooser*) override { }
138 138
139 PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorCh ooserClient*, const Color&) override; 139 PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, ColorChoo serClient*, const Color&) override;
140 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&) override; 140 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&) override;
141 void openTextDataListChooser(HTMLInputElement&) override; 141 void openTextDataListChooser(HTMLInputElement&) override;
142 142
143 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) override; 143 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
144 144
145 void setCursor(const Cursor&) override { } 145 void setCursor(const Cursor&) override { }
146 Cursor lastSetCursorForTesting() const override { return pointerCursor(); } 146 Cursor lastSetCursorForTesting() const override { return pointerCursor(); }
147 147
148 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override { } 148 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override { }
149 149
150 void needTouchEvents(bool) override { } 150 void needTouchEvents(bool) override { }
151 void setTouchAction(TouchAction) override { }; 151 void setTouchAction(TouchAction) override { };
152 152
153 void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMember<Elem ent>>&, LocalFrame*) override { } 153 void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMember<Elem ent>>&, LocalFrame*) override { }
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 virtual ~EmptyDragClient() {} 313 virtual ~EmptyDragClient() {}
314 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 314 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
315 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 315 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
316 }; 316 };
317 317
318 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 318 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
319 319
320 } // namespace blink 320 } // namespace blink
321 321
322 #endif // EmptyClients_h 322 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutMenuList.cpp ('k') | Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698