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

Side by Side Diff: Source/core/page/ChromeClient.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, 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void focusedNodeChanged(Node*, Node*) = 0; 88 virtual void focusedNodeChanged(Node*, Node*) = 0;
89 89
90 virtual void focusedFrameChanged(LocalFrame*) = 0; 90 virtual void focusedFrameChanged(LocalFrame*) = 0;
91 91
92 // The LocalFrame pointer provides the ChromeClient with context about which 92 // The LocalFrame pointer provides the ChromeClient with context about which
93 // LocalFrame wants to create the new Page. Also, the newly created window 93 // LocalFrame wants to create the new Page. Also, the newly created window
94 // should not be shown to the user until the ChromeClient of the newly 94 // should not be shown to the user until the ChromeClient of the newly
95 // created Page has its show method called. 95 // created Page has its show method called.
96 // The FrameLoadRequest parameter is only for ChromeClient to check if the 96 // The FrameLoadRequest parameter is only for ChromeClient to check if the
97 // request could be fulfilled. The ChromeClient should not load the request. 97 // request could be fulfilled. The ChromeClient should not load the request.
98 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; 98 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ReferrerPolicy) = 0;
99 virtual void show(NavigationPolicy) = 0; 99 virtual void show(NavigationPolicy) = 0;
100 100
101 virtual void setToolbarsVisible(bool) = 0; 101 virtual void setToolbarsVisible(bool) = 0;
102 virtual bool toolbarsVisible() = 0; 102 virtual bool toolbarsVisible() = 0;
103 103
104 virtual void setStatusbarVisible(bool) = 0; 104 virtual void setStatusbarVisible(bool) = 0;
105 virtual bool statusbarVisible() = 0; 105 virtual bool statusbarVisible() = 0;
106 106
107 virtual void setScrollbarsVisible(bool) = 0; 107 virtual void setScrollbarsVisible(bool) = 0;
108 virtual bool scrollbarsVisible() = 0; 108 virtual bool scrollbarsVisible() = 0;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 virtual void didUpdateTopControls() const { } 238 virtual void didUpdateTopControls() const { }
239 239
240 protected: 240 protected:
241 virtual ~ChromeClient() { } 241 virtual ~ChromeClient() { }
242 }; 242 };
243 243
244 } // namespace blink 244 } // namespace blink
245 245
246 #endif // ChromeClient_h 246 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698