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

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

Issue 1148603002: Anchor element's referrer attribute implementation for Referrer Policy Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fails for right-click opening (new window/tab, etc.) Created 5 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 virtual IntRect pageRect() override { return IntRect(); } 76 virtual IntRect pageRect() override { return IntRect(); }
77 77
78 virtual void focus() override { } 78 virtual void focus() override { }
79 79
80 virtual bool canTakeFocus(WebFocusType) override { return false; } 80 virtual bool canTakeFocus(WebFocusType) override { return false; }
81 virtual void takeFocus(WebFocusType) override { } 81 virtual void takeFocus(WebFocusType) override { }
82 82
83 virtual void focusedNodeChanged(Node*, Node*) override { } 83 virtual void focusedNodeChanged(Node*, Node*) override { }
84 virtual void focusedFrameChanged(LocalFrame*) override { } 84 virtual void focusedFrameChanged(LocalFrame*) override { }
85 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) override { return 0; } 85 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ReferrerPolicy) override { return 0; }
86 virtual void show(NavigationPolicy) override { } 86 virtual void show(NavigationPolicy) override { }
87 87
88 virtual void setToolbarsVisible(bool) override { } 88 virtual void setToolbarsVisible(bool) override { }
89 virtual bool toolbarsVisible() override { return false; } 89 virtual bool toolbarsVisible() override { return false; }
90 90
91 virtual void setStatusbarVisible(bool) override { } 91 virtual void setStatusbarVisible(bool) override { }
92 virtual bool statusbarVisible() override { return false; } 92 virtual bool statusbarVisible() override { return false; }
93 93
94 virtual void setScrollbarsVisible(bool) override { } 94 virtual void setScrollbarsVisible(bool) override { }
95 virtual bool scrollbarsVisible() override { return false; } 95 virtual bool scrollbarsVisible() override { return false; }
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 virtual ~EmptyDragClient() {} 309 virtual ~EmptyDragClient() {}
310 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 310 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
311 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 311 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
312 }; 312 };
313 313
314 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 314 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
315 315
316 } // namespace blink 316 } // namespace blink
317 317
318 #endif // EmptyClients_h 318 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698