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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.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, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Start a system drag and drop operation. 103 // Start a system drag and drop operation.
104 virtual void startDragging(LocalFrame*, const WebDragData&, WebDragOperation sMask, const WebImage& dragImage, const WebPoint& dragImageOffset) = 0; 104 virtual void startDragging(LocalFrame*, const WebDragData&, WebDragOperation sMask, const WebImage& dragImage, const WebPoint& dragImageOffset) = 0;
105 virtual bool acceptsLoadDrops() const = 0; 105 virtual bool acceptsLoadDrops() const = 0;
106 106
107 // The LocalFrame pointer provides the ChromeClient with context about which 107 // The LocalFrame pointer provides the ChromeClient with context about which
108 // LocalFrame wants to create the new Page. Also, the newly created window 108 // LocalFrame wants to create the new Page. Also, the newly created window
109 // should not be shown to the user until the ChromeClient of the newly 109 // should not be shown to the user until the ChromeClient of the newly
110 // created Page has its show method called. 110 // created Page has its show method called.
111 // The FrameLoadRequest parameter is only for ChromeClient to check if the 111 // The FrameLoadRequest parameter is only for ChromeClient to check if the
112 // request could be fulfilled. The ChromeClient should not load the request. 112 // request could be fulfilled. The ChromeClient should not load the request.
113 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSetOpener) = 0; 113 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy) = 0;
114 virtual void show(NavigationPolicy = NavigationPolicyIgnore) = 0; 114 virtual void show(NavigationPolicy = NavigationPolicyIgnore) = 0;
115 115
116 void setWindowFeatures(const WindowFeatures&); 116 void setWindowFeatures(const WindowFeatures&);
117 117
118 // All the parameters should be in viewport space. That is, if an event 118 // All the parameters should be in viewport space. That is, if an event
119 // scrolls by 10 px, but due to a 2X page scale we apply a 5px scroll to the 119 // scrolls by 10 px, but due to a 2X page scale we apply a 5px scroll to the
120 // root frame, all of which is handled as overscroll, we should return 10px 120 // root frame, all of which is handled as overscroll, we should return 10px
121 // as the overscrollDelta. 121 // as the overscrollDelta.
122 virtual void didOverscroll( 122 virtual void didOverscroll(
123 const FloatSize& overscrollDelta, 123 const FloatSize& overscrollDelta,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 LayoutPoint m_lastToolTipPoint; 299 LayoutPoint m_lastToolTipPoint;
300 String m_lastToolTipText; 300 String m_lastToolTipText;
301 301
302 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 302 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
303 }; 303 };
304 304
305 } // namespace blink 305 } // namespace blink
306 306
307 #endif // ChromeClient_h 307 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/page/CreateWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698