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

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

Issue 2395393003: Remove grow box rect support, renderer part. (Closed)
Patch Set: rebase 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 159 }
160 160
161 bool hasOpenedPopup() const override { return false; } 161 bool hasOpenedPopup() const override { return false; }
162 PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) override; 162 PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) override;
163 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; } 163 DOMWindow* pagePopupWindowForTesting() const override { return nullptr; }
164 164
165 void setStatusbarText(const String&) override {} 165 void setStatusbarText(const String&) override {}
166 166
167 bool tabsToLinks() override { return false; } 167 bool tabsToLinks() override { return false; }
168 168
169 IntRect windowResizerRect(LocalFrame&) const override { return IntRect(); }
170
171 void invalidateRect(const IntRect&) override {} 169 void invalidateRect(const IntRect&) override {}
172 void scheduleAnimation(Widget*) override {} 170 void scheduleAnimation(Widget*) override {}
173 171
174 IntRect viewportToScreen(const IntRect& r, const Widget*) const override { 172 IntRect viewportToScreen(const IntRect& r, const Widget*) const override {
175 return r; 173 return r;
176 } 174 }
177 float windowToViewportScalar(const float s) const override { return s; } 175 float windowToViewportScalar(const float s) const override { return s; }
178 WebScreenInfo screenInfo() const override { return WebScreenInfo(); } 176 WebScreenInfo screenInfo() const override { return WebScreenInfo(); }
179 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {} 177 void contentsSizeChanged(LocalFrame*, const IntSize&) const override {}
180 178
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 ~EmptyContextMenuClient() override {} 425 ~EmptyContextMenuClient() override {}
428 bool showContextMenu(const ContextMenu*, bool) override { return false; } 426 bool showContextMenu(const ContextMenu*, bool) override { return false; }
429 void clearContextMenu() override {} 427 void clearContextMenu() override {}
430 }; 428 };
431 429
432 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 430 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
433 431
434 } // namespace blink 432 } // namespace blink
435 433
436 #endif // EmptyClients_h 434 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.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