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

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

Issue 2878623002: Introduce WebRemoteFrameBase to break dependencies on WebRemoteFrameImpl. (Closed)
Patch Set: Fix windows linker errors. Created 3 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override; 232 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override;
233 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override; 233 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override;
234 void NotifyPopupOpeningObservers() const override; 234 void NotifyPopupOpeningObservers() const override;
235 235
236 void InstallSupplements(LocalFrame&) override; 236 void InstallSupplements(LocalFrame&) override;
237 237
238 WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) override; 238 WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) override;
239 239
240 WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) override; 240 WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) override;
241 241
242 WebRemoteFrameBase* GetWebRemoteFrameBase(RemoteFrame&) override;
243
242 private: 244 private:
243 explicit ChromeClientImpl(WebViewBase*); 245 explicit ChromeClientImpl(WebViewBase*);
244 246
245 bool IsChromeClientImpl() const override { return true; } 247 bool IsChromeClientImpl() const override { return true; }
246 248
247 void SetCursor(const WebCursorInfo&, LocalFrame*); 249 void SetCursor(const WebCursorInfo&, LocalFrame*);
248 250
249 WebViewBase* web_view_; // Weak pointer. 251 WebViewBase* web_view_; // Weak pointer.
250 WindowFeatures window_features_; 252 WindowFeatures window_features_;
251 Vector<PopupOpeningObserver*> popup_opening_observers_; 253 Vector<PopupOpeningObserver*> popup_opening_observers_;
252 Cursor last_set_mouse_cursor_for_testing_; 254 Cursor last_set_mouse_cursor_for_testing_;
253 bool cursor_overridden_; 255 bool cursor_overridden_;
254 bool did_request_non_empty_tool_tip_; 256 bool did_request_non_empty_tool_tip_;
255 }; 257 };
256 258
257 DEFINE_TYPE_CASTS(ChromeClientImpl, 259 DEFINE_TYPE_CASTS(ChromeClientImpl,
258 ChromeClient, 260 ChromeClient,
259 client, 261 client,
260 client->IsChromeClientImpl(), 262 client->IsChromeClientImpl(),
261 client.IsChromeClientImpl()); 263 client.IsChromeClientImpl());
262 264
263 } // namespace blink 265 } // namespace blink
264 266
265 #endif 267 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698