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

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

Issue 1972243003: Merge "ExternalPopupMenu should recreate its popup only if a SELECT subtree is updated" to M51 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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() override { }
67 void hide() override { } 67 void hide() override { }
68 void updateFromElement() override { } 68 void updateFromElement(UpdateReason) 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;
77 }; 77 };
78 78
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 { 179 {
180 return nullptr; 180 return nullptr;
181 } 181 }
182 182
183 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*) 183 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*)
184 { 184 {
185 return nullptr; 185 return nullptr;
186 } 186 }
187 187
188 } // namespace blink 188 } // 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