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

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

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Rebase to master@{#429656}. Created 4 years, 1 month 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void openTextDataListChooser(HTMLInputElement&) override; 193 void openTextDataListChooser(HTMLInputElement&) override;
194 194
195 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 195 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
196 196
197 void setCursor(const Cursor&, LocalFrame* localRoot) override {} 197 void setCursor(const Cursor&, LocalFrame* localRoot) override {}
198 Cursor lastSetCursorForTesting() const override { return pointerCursor(); } 198 Cursor lastSetCursorForTesting() const override { return pointerCursor(); }
199 199
200 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override; 200 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override;
201 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override {} 201 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override {}
202 202
203 void setEventListenerProperties(WebEventListenerClass, 203 void setEventListenerProperties(LocalFrame*,
204 WebEventListenerClass,
204 WebEventListenerProperties) override {} 205 WebEventListenerProperties) override {}
205 WebEventListenerProperties eventListenerProperties( 206 WebEventListenerProperties eventListenerProperties(
206 WebEventListenerClass) const override { 207 LocalFrame*,
208 WebEventListenerClass eventClass) const override {
207 return WebEventListenerProperties::Nothing; 209 return WebEventListenerProperties::Nothing;
208 } 210 }
209 void setHasScrollEventHandlers(bool) override {} 211 void setHasScrollEventHandlers(bool) override {}
210 bool hasScrollEventHandlers() const override { return false; } 212 bool hasScrollEventHandlers() const override { return false; }
211 213
212 void setTouchAction(TouchAction) override {} 214 void setTouchAction(TouchAction) override {}
213 215
214 void didAssociateFormControlsAfterLoad(LocalFrame*) override {} 216 void didAssociateFormControlsAfterLoad(LocalFrame*) override {}
215 217
216 void annotatedRegionsChanged() override {} 218 void annotatedRegionsChanged() override {}
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 ~EmptyContextMenuClient() override {} 425 ~EmptyContextMenuClient() override {}
424 bool showContextMenu(const ContextMenu*, bool) override { return false; } 426 bool showContextMenu(const ContextMenu*, bool) override { return false; }
425 void clearContextMenu() override {} 427 void clearContextMenu() override {}
426 }; 428 };
427 429
428 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 430 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
429 431
430 } // namespace blink 432 } // namespace blink
431 433
432 #endif // EmptyClients_h 434 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698