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

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

Issue 110183002: Remove #if ENABLE(NAVIGATOR_CONTENT_UTILS) from blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased #2 Created 6 years, 11 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 WebViewImpl* m_webView; // weak pointer 205 WebViewImpl* m_webView; // weak pointer
206 bool m_toolbarsVisible; 206 bool m_toolbarsVisible;
207 bool m_statusbarVisible; 207 bool m_statusbarVisible;
208 bool m_scrollbarsVisible; 208 bool m_scrollbarsVisible;
209 bool m_menubarVisible; 209 bool m_menubarVisible;
210 bool m_resizable; 210 bool m_resizable;
211 211
212 WebCore::PagePopupDriver* m_pagePopupDriver; 212 WebCore::PagePopupDriver* m_pagePopupDriver;
213 }; 213 };
214 214
215 #if ENABLE(NAVIGATOR_CONTENT_UTILS)
216 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli ent { 215 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli ent {
217 public: 216 public:
218 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*); 217 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*);
219 ~NavigatorContentUtilsClientImpl() { } 218 ~NavigatorContentUtilsClientImpl() { }
220 219
221 virtual void registerProtocolHandler(const String& scheme, const String& bas eURL, const String& url, const String& title) OVERRIDE; 220 virtual void registerProtocolHandler(const String& scheme, const String& bas eURL, const String& url, const String& title) OVERRIDE;
222 221
223 private: 222 private:
224 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 223 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
225 224
226 WebViewImpl* m_webView; 225 WebViewImpl* m_webView;
227 }; 226 };
228 #endif
229 227
230 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 228 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
231 229
232 } // namespace blink 230 } // namespace blink
233 231
234 #endif 232 #endif
OLDNEW
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698