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

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

Issue 2290233007: Move convertViewportToWindow and convertWindowToViewport from (Closed)
Patch Set: add client to WebSharedWorkerImpl Created 4 years, 2 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void setStatusbarText(const String&) override {} 130 void setStatusbarText(const String&) override {}
131 131
132 bool tabsToLinks() override { return false; } 132 bool tabsToLinks() override { return false; }
133 133
134 IntRect windowResizerRect(LocalFrame&) const override { return IntRect(); } 134 IntRect windowResizerRect(LocalFrame&) const override { return IntRect(); }
135 135
136 void invalidateRect(const IntRect&) override {} 136 void invalidateRect(const IntRect&) override {}
137 void scheduleAnimation(Widget*) override {} 137 void scheduleAnimation(Widget*) override {}
138 138
139 IntRect viewportToScreen(const IntRect& r, const Widget*) const override { r eturn r; } 139 IntRect viewportToScreen(const IntRect& r, const Widget*) const override { r eturn r; }
140 float windowToViewportScalar(const float s) const override { return s; } 140 float windowToViewportScalar(const Widget&, const float s) const override { return s; }
141 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } 141 WebScreenInfo screenInfo() const override { return WebScreenInfo(); }
142 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} 142 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {}
143 143
144 void showMouseOverURL(const HitTestResult&) override {} 144 void showMouseOverURL(const HitTestResult&) override {}
145 145
146 void setToolTip(const String&, TextDirection) override {} 146 void setToolTip(const String&, TextDirection) override {}
147 147
148 void printDelegate(LocalFrame*) override {} 148 void printDelegate(LocalFrame*) override {}
149 149
150 void enumerateChosenDirectory(FileChooser*) override {} 150 void enumerateChosenDirectory(FileChooser*) override {}
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 ~EmptyContextMenuClient() override {} 331 ~EmptyContextMenuClient() override {}
332 bool showContextMenu(const ContextMenu*, bool) override { return false; } 332 bool showContextMenu(const ContextMenu*, bool) override { return false; }
333 void clearContextMenu() override {} 333 void clearContextMenu() override {}
334 }; 334 };
335 335
336 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 336 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
337 337
338 } // namespace blink 338 } // namespace blink
339 339
340 #endif // EmptyClients_h 340 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698