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

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

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Addressed CR feedback from rdevlin.cronin@. Created 3 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
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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 WebEventListenerClass event_class) const override { 201 WebEventListenerClass event_class) const override {
202 return WebEventListenerProperties::kNothing; 202 return WebEventListenerProperties::kNothing;
203 } 203 }
204 void UpdateEventRectsForSubframeIfNecessary(LocalFrame* frame) override {} 204 void UpdateEventRectsForSubframeIfNecessary(LocalFrame* frame) override {}
205 void SetHasScrollEventHandlers(LocalFrame*, bool) override {} 205 void SetHasScrollEventHandlers(LocalFrame*, bool) override {}
206 206
207 void SetTouchAction(LocalFrame*, TouchAction) override {} 207 void SetTouchAction(LocalFrame*, TouchAction) override {}
208 208
209 void DidAssociateFormControlsAfterLoad(LocalFrame*) override {} 209 void DidAssociateFormControlsAfterLoad(LocalFrame*) override {}
210 210
211 void AnnotatedRegionsChanged() override {}
212 String AcceptLanguages() override; 211 String AcceptLanguages() override;
213 212
214 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient( 213 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient(
215 LocalFrame*) override { 214 LocalFrame*) override {
216 return nullptr; 215 return nullptr;
217 } 216 }
218 217
219 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient( 218 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient(
220 LocalFrame*) override { 219 LocalFrame*) override {
221 return nullptr; 220 return nullptr;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 ContentSettingsClient& GetContentSettingsClient() override; 363 ContentSettingsClient& GetContentSettingsClient() override;
365 std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost( 364 std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost(
366 WebApplicationCacheHostClient*) override; 365 WebApplicationCacheHostClient*) override;
367 366
368 TextCheckerClient& GetTextCheckerClient() const override; 367 TextCheckerClient& GetTextCheckerClient() const override;
369 std::unique_ptr<WebURLLoader> CreateURLLoader() override { 368 std::unique_ptr<WebURLLoader> CreateURLLoader() override {
370 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. 369 // TODO(yhirano): Stop using Platform::CreateURLLoader() here.
371 return Platform::Current()->CreateURLLoader(); 370 return Platform::Current()->CreateURLLoader();
372 } 371 }
373 372
373 void AnnotatedRegionsChanged() override {}
374
374 protected: 375 protected:
375 EmptyLocalFrameClient() {} 376 EmptyLocalFrameClient() {}
376 377
377 ContentSettingsClient content_settings_client_; 378 ContentSettingsClient content_settings_client_;
378 }; 379 };
379 380
380 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { 381 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {
381 WTF_MAKE_NONCOPYABLE(EmptyTextCheckerClient); 382 WTF_MAKE_NONCOPYABLE(EmptyTextCheckerClient);
382 USING_FAST_MALLOC(EmptyTextCheckerClient); 383 USING_FAST_MALLOC(EmptyTextCheckerClient);
383 384
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 Frame* NextSibling() const override { return nullptr; } 469 Frame* NextSibling() const override { return nullptr; }
469 Frame* FirstChild() const override { return nullptr; } 470 Frame* FirstChild() const override { return nullptr; }
470 void FrameFocused() const override {} 471 void FrameFocused() const override {}
471 }; 472 };
472 473
473 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 474 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
474 475
475 } // namespace blink 476 } // namespace blink
476 477
477 #endif // EmptyClients_h 478 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrameView.cpp ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698