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

Side by Side Diff: Source/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual void chromeDestroyed() override; 72 virtual void chromeDestroyed() override;
73 virtual void setWindowRect(const IntRect&) override; 73 virtual void setWindowRect(const IntRect&) override;
74 virtual IntRect windowRect() override; 74 virtual IntRect windowRect() override;
75 virtual IntRect pageRect() override; 75 virtual IntRect pageRect() override;
76 virtual void focus() override; 76 virtual void focus() override;
77 virtual bool canTakeFocus(WebFocusType) override; 77 virtual bool canTakeFocus(WebFocusType) override;
78 virtual void takeFocus(WebFocusType) override; 78 virtual void takeFocus(WebFocusType) override;
79 virtual void focusedNodeChanged(Node* fromNode, Node* toNode) override; 79 virtual void focusedNodeChanged(Node* fromNode, Node* toNode) override;
80 virtual void focusedFrameChanged(LocalFrame*) override; 80 virtual void focusedFrameChanged(LocalFrame*) override;
81 virtual Page* createWindow( 81 virtual Page* createWindow(
82 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP olicy, ShouldSendReferrer) override; 82 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP olicy, ReferrerPolicy) override;
83 virtual void show(NavigationPolicy) override; 83 virtual void show(NavigationPolicy) override;
84 virtual void setToolbarsVisible(bool) override; 84 virtual void setToolbarsVisible(bool) override;
85 virtual bool toolbarsVisible() override; 85 virtual bool toolbarsVisible() override;
86 virtual void setStatusbarVisible(bool) override; 86 virtual void setStatusbarVisible(bool) override;
87 virtual bool statusbarVisible() override; 87 virtual bool statusbarVisible() override;
88 virtual void setScrollbarsVisible(bool) override; 88 virtual void setScrollbarsVisible(bool) override;
89 virtual bool scrollbarsVisible() override; 89 virtual bool scrollbarsVisible() override;
90 virtual void setMenubarVisible(bool) override; 90 virtual void setMenubarVisible(bool) override;
91 virtual bool menubarVisible() override; 91 virtual bool menubarVisible() override;
92 virtual void setResizable(bool) override; 92 virtual void setResizable(bool) override;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 WindowFeatures m_windowFeatures; 191 WindowFeatures m_windowFeatures;
192 192
193 PagePopupDriver* m_pagePopupDriver; 193 PagePopupDriver* m_pagePopupDriver;
194 }; 194 };
195 195
196 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 196 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
197 197
198 } // namespace blink 198 } // namespace blink
199 199
200 #endif 200 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698