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

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

Issue 1672973002: ScrollableArea::pixelsPerLine should return viewport pixels in use-zoom-for-dsf mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void setStatusbarText(const String&) override {} 126 void setStatusbarText(const String&) override {}
127 127
128 bool tabsToLinks() override { return false; } 128 bool tabsToLinks() override { return false; }
129 129
130 IntRect windowResizerRect() const override { return IntRect(); } 130 IntRect windowResizerRect() const override { return IntRect(); }
131 131
132 void invalidateRect(const IntRect&) override {} 132 void invalidateRect(const IntRect&) override {}
133 void scheduleAnimation(Widget*) override {} 133 void scheduleAnimation(Widget*) override {}
134 134
135 IntRect viewportToScreen(const IntRect& r) const override { return r; } 135 IntRect viewportToScreen(const IntRect& r) const override { return r; }
136 FloatRect windowToViewport(const FloatRect& r) const override { return r; } 136 float windowToViewportScalar(const float s) const override { return s; }
137 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } 137 WebScreenInfo screenInfo() const override { return WebScreenInfo(); }
138 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} 138 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {}
139 139
140 void showMouseOverURL(const HitTestResult&) override {} 140 void showMouseOverURL(const HitTestResult&) override {}
141 141
142 void setToolTip(const String&, TextDirection) override {} 142 void setToolTip(const String&, TextDirection) override {}
143 143
144 void printDelegate(LocalFrame*) override {} 144 void printDelegate(LocalFrame*) override {}
145 145
146 void enumerateChosenDirectory(FileChooser*) override {} 146 void enumerateChosenDirectory(FileChooser*) override {}
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 ~EmptyDragClient() override {} 335 ~EmptyDragClient() override {}
336 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 336 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
337 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 337 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
338 }; 338 };
339 339
340 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 340 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
341 341
342 } // namespace blink 342 } // namespace blink
343 343
344 #endif // EmptyClients_h 344 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698