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

Side by Side Diff: Source/web/ChromeClientImpl.h

Issue 1140463003: Common up the determination of navigation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased 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
« no previous file with comments | « no previous file | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 virtual void showImeIfNeeded() override; 177 virtual void showImeIfNeeded() override;
178 178
179 virtual void registerViewportLayers() const override; 179 virtual void registerViewportLayers() const override;
180 180
181 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 181 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
182 virtual void didUpdateTopControls() const override; 182 virtual void didUpdateTopControls() const override;
183 183
184 private: 184 private:
185 virtual bool isChromeClientImpl() const override { return true; } 185 virtual bool isChromeClientImpl() const override { return true; }
186 186
187 WebNavigationPolicy getNavigationPolicy(const WindowFeatures&);
188 void setCursor(const WebCursorInfo&); 187 void setCursor(const WebCursorInfo&);
189 188
190 WebViewImpl* m_webView; // weak pointer 189 WebViewImpl* m_webView; // weak pointer
191 WindowFeatures m_windowFeatures; 190 WindowFeatures m_windowFeatures;
192 191
193 PagePopupDriver* m_pagePopupDriver; 192 PagePopupDriver* m_pagePopupDriver;
194 }; 193 };
195 194
196 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 195 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
197 196
198 } // namespace blink 197 } // namespace blink
199 198
200 #endif 199 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698