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

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

Issue 1613783003: Revert of Remove unused arguments of blink::PopupMenu::show(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 DEFINE_STATIC_LOCAL(EmptyEditorClient, dummyEditorClient, ()); 57 DEFINE_STATIC_LOCAL(EmptyEditorClient, dummyEditorClient, ());
58 pageClients.editorClient = &dummyEditorClient; 58 pageClients.editorClient = &dummyEditorClient;
59 59
60 DEFINE_STATIC_LOCAL(EmptySpellCheckerClient, dummySpellCheckerClient, ()); 60 DEFINE_STATIC_LOCAL(EmptySpellCheckerClient, dummySpellCheckerClient, ());
61 pageClients.spellCheckerClient = &dummySpellCheckerClient; 61 pageClients.spellCheckerClient = &dummySpellCheckerClient;
62 } 62 }
63 63
64 class EmptyPopupMenu : public PopupMenu { 64 class EmptyPopupMenu : public PopupMenu {
65 public: 65 public:
66 void show() override { } 66 void show(const FloatQuad&, const IntSize&, int) override { }
67 void hide() override { } 67 void hide() override { }
68 void updateFromElement() override { } 68 void updateFromElement() override { }
69 void disconnectClient() override { } 69 void disconnectClient() override { }
70 }; 70 };
71 71
72 class EmptyFrameScheduler : public WebFrameScheduler { 72 class EmptyFrameScheduler : public WebFrameScheduler {
73 public: 73 public:
74 void setFrameVisible(bool) override { } 74 void setFrameVisible(bool) override { }
75 WebTaskRunner* loadingTaskRunner() override; 75 WebTaskRunner* loadingTaskRunner() override;
76 WebTaskRunner* timerTaskRunner() override; 76 WebTaskRunner* timerTaskRunner() override;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 { 180 {
181 return nullptr; 181 return nullptr;
182 } 182 }
183 183
184 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*) 184 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*)
185 { 185 {
186 return nullptr; 186 return nullptr;
187 } 187 }
188 188
189 } // namespace blink 189 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLSelectElement.cpp ('k') | third_party/WebKit/Source/platform/PopupMenu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698