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

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

Issue 2868173002: Add PlatformLocalFrame class. (Closed)
Patch Set: this time with new file included Created 3 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, 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 bool HasOpenedPopup() const override { return false; } 163 bool HasOpenedPopup() const override { return false; }
164 PopupMenu* OpenPopupMenu(LocalFrame&, HTMLSelectElement&) override; 164 PopupMenu* OpenPopupMenu(LocalFrame&, HTMLSelectElement&) override;
165 DOMWindow* PagePopupWindowForTesting() const override { return nullptr; } 165 DOMWindow* PagePopupWindowForTesting() const override { return nullptr; }
166 166
167 void SetStatusbarText(const String&) override {} 167 void SetStatusbarText(const String&) override {}
168 168
169 bool TabsToLinks() override { return false; } 169 bool TabsToLinks() override { return false; }
170 170
171 void InvalidateRect(const IntRect&) override {} 171 void InvalidateRect(const IntRect&) override {}
172 void ScheduleAnimation(LocalFrame*) override {} 172 void ScheduleAnimation(const PlatformLocalFrame*) override {}
173 173
174 IntRect ViewportToScreen(const IntRect& r, 174 IntRect ViewportToScreen(const IntRect& r,
175 const FrameViewBase*) const override { 175 const PlatformLocalFrame*) const override {
176 return r; 176 return r;
177 } 177 }
178 float WindowToViewportScalar(const float s) const override { return s; } 178 float WindowToViewportScalar(const float s) const override { return s; }
179 WebScreenInfo GetScreenInfo() const override { return WebScreenInfo(); } 179 WebScreenInfo GetScreenInfo() const override { return WebScreenInfo(); }
180 void ContentsSizeChanged(LocalFrame*, const IntSize&) const override {} 180 void ContentsSizeChanged(LocalFrame*, const IntSize&) const override {}
181 181
182 void ShowMouseOverURL(const HitTestResult&) override {} 182 void ShowMouseOverURL(const HitTestResult&) override {}
183 183
184 void SetToolTip(LocalFrame&, const String&, TextDirection) override {} 184 void SetToolTip(LocalFrame&, const String&, TextDirection) override {}
185 185
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 Frame* NextSibling() const override { return nullptr; } 471 Frame* NextSibling() const override { return nullptr; }
472 Frame* FirstChild() const override { return nullptr; } 472 Frame* FirstChild() const override { return nullptr; }
473 void FrameFocused() const override {} 473 void FrameFocused() const override {}
474 }; 474 };
475 475
476 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 476 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
477 477
478 } // namespace blink 478 } // namespace blink
479 479
480 #endif // EmptyClients_h 480 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698