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

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

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/loader/EmptyClients.h ('k') | Source/core/loader/FrameLoader.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, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 62
63 class EmptyPopupMenu : public PopupMenu { 63 class EmptyPopupMenu : public PopupMenu {
64 public: 64 public:
65 virtual void show(const FloatQuad&, const IntSize&, int) override { } 65 virtual void show(const FloatQuad&, const IntSize&, int) override { }
66 virtual void hide() override { } 66 virtual void hide() override { }
67 virtual void updateFromElement() override { } 67 virtual void updateFromElement() override { }
68 virtual void disconnectClient() override { } 68 virtual void disconnectClient() override { }
69 }; 69 };
70 70
71 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame& , PopupMenuClient*) 71 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::openPopupMenu(LocalFrame&, PopupMenuClient*)
72 { 72 {
73 return adoptRefWillBeNoop(new EmptyPopupMenu()); 73 return adoptRefWillBeNoop(new EmptyPopupMenu());
74 } 74 }
75 75
76 PassOwnPtrWillBeRawPtr<ColorChooser> EmptyChromeClient::createColorChooser(Local Frame*, ColorChooserClient*, const Color&) 76 PassOwnPtrWillBeRawPtr<ColorChooser> EmptyChromeClient::openColorChooser(LocalFr ame*, ColorChooserClient*, const Color&)
77 { 77 {
78 return nullptr; 78 return nullptr;
79 } 79 }
80 80
81 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos erClient*, const DateTimeChooserParameters&) 81 PassRefPtr<DateTimeChooser> EmptyChromeClient::openDateTimeChooser(DateTimeChoos erClient*, const DateTimeChooserParameters&)
82 { 82 {
83 return PassRefPtr<DateTimeChooser>(); 83 return PassRefPtr<DateTimeChooser>();
84 } 84 }
85 85
86 void EmptyChromeClient::openTextDataListChooser(HTMLInputElement&) 86 void EmptyChromeClient::openTextDataListChooser(HTMLInputElement&)
87 { 87 {
88 } 88 }
89 89
90 void EmptyChromeClient::runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) 90 void EmptyChromeClient::openFileChooser(LocalFrame*, PassRefPtr<FileChooser>)
91 { 91 {
92 } 92 }
93 93
94 String EmptyChromeClient::acceptLanguages() 94 String EmptyChromeClient::acceptLanguages()
95 { 95 {
96 return String(); 96 return String();
97 } 97 }
98 98
99 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(const Resourc eRequest&, DocumentLoader*, NavigationPolicy) 99 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(const Resourc eRequest&, DocumentLoader*, NavigationPolicy)
100 { 100 {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 { 146 {
147 return nullptr; 147 return nullptr;
148 } 148 }
149 149
150 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*) 150 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*)
151 { 151 {
152 return nullptr; 152 return nullptr;
153 } 153 }
154 154
155 } // namespace blink 155 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698