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

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

Issue 2067753002: Do not suppress referrers for '<a ... rel="noopener">'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 IntRect windowRect() override { return IntRect(); } 77 IntRect windowRect() override { return IntRect(); }
78 78
79 IntRect pageRect() override { return IntRect(); } 79 IntRect pageRect() override { return IntRect(); }
80 80
81 void focus() override {} 81 void focus() override {}
82 82
83 bool canTakeFocus(WebFocusType) override { return false; } 83 bool canTakeFocus(WebFocusType) override { return false; }
84 void takeFocus(WebFocusType) override {} 84 void takeFocus(WebFocusType) override {}
85 85
86 void focusedNodeChanged(Node*, Node*) override {} 86 void focusedNodeChanged(Node*, Node*) override {}
87 Page* createWindow(LocalFrame*, const FrameLoadRequest&, const WindowFeature s&, NavigationPolicy, ShouldSetOpener) override { return nullptr; } 87 Page* createWindow(LocalFrame*, const FrameLoadRequest&, const WindowFeature s&, NavigationPolicy) override { return nullptr; }
88 void show(NavigationPolicy) override {} 88 void show(NavigationPolicy) override {}
89 89
90 void didOverscroll(const FloatSize&, const FloatSize&, const FloatPoint&, co nst FloatSize&) override {} 90 void didOverscroll(const FloatSize&, const FloatSize&, const FloatPoint&, co nst FloatSize&) override {}
91 91
92 void beginLifecycleUpdates() override { } 92 void beginLifecycleUpdates() override { }
93 93
94 bool hadFormInteraction() const override { return false; } 94 bool hadFormInteraction() const override { return false; }
95 95
96 void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, c onst WebImage& dragImage, const WebPoint& dragImageOffset) {} 96 void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, c onst WebImage& dragImage, const WebPoint& dragImageOffset) {}
97 bool acceptsLoadDrops() const override { return true; } 97 bool acceptsLoadDrops() const override { return true; }
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 ~EmptyContextMenuClient() override {} 326 ~EmptyContextMenuClient() override {}
327 void showContextMenu(const ContextMenu*) override {} 327 void showContextMenu(const ContextMenu*) override {}
328 void clearContextMenu() override {} 328 void clearContextMenu() override {}
329 }; 329 };
330 330
331 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 331 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
332 332
333 } // namespace blink 333 } // namespace blink
334 334
335 #endif // EmptyClients_h 335 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698