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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 class HTMLFormControlElement; 66 class HTMLFormControlElement;
67 class HTMLInputElement; 67 class HTMLInputElement;
68 class HTMLSelectElement; 68 class HTMLSelectElement;
69 class HitTestResult; 69 class HitTestResult;
70 class IntRect; 70 class IntRect;
71 class KeyboardEvent; 71 class KeyboardEvent;
72 class LocalFrame; 72 class LocalFrame;
73 class Node; 73 class Node;
74 class Page; 74 class Page;
75 class PopupOpeningObserver; 75 class PopupOpeningObserver;
76 class RemoteFrame;
76 class WebDragData; 77 class WebDragData;
77 class WebFrameScheduler; 78 class WebFrameScheduler;
78 class WebImage; 79 class WebImage;
79 class WebLayer; 80 class WebLayer;
80 class WebLayerTreeView; 81 class WebLayerTreeView;
81 class WebLocalFrameBase; 82 class WebLocalFrameBase;
83 class WebRemoteFrameBase;
82 84
83 struct CompositedSelection; 85 struct CompositedSelection;
84 struct DateTimeChooserParameters; 86 struct DateTimeChooserParameters;
85 struct FrameLoadRequest; 87 struct FrameLoadRequest;
86 struct ViewportDescription; 88 struct ViewportDescription;
87 struct WebPoint; 89 struct WebPoint;
88 struct WebScreenInfo; 90 struct WebScreenInfo;
89 struct WindowFeatures; 91 struct WindowFeatures;
90 92
91 class CORE_EXPORT ChromeClient : public PlatformChromeClient { 93 class CORE_EXPORT ChromeClient : public PlatformChromeClient {
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 virtual double LastFrameTimeMonotonic() const { return 0.0; } 353 virtual double LastFrameTimeMonotonic() const { return 0.0; }
352 354
353 virtual void InstallSupplements(LocalFrame&) {} 355 virtual void InstallSupplements(LocalFrame&) {}
354 356
355 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; } 357 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; }
356 358
357 virtual WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) { 359 virtual WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) {
358 return nullptr; 360 return nullptr;
359 } 361 }
360 362
363 virtual WebRemoteFrameBase* GetWebRemoteFrameBase(RemoteFrame&) {
364 return nullptr;
365 }
366
361 DECLARE_TRACE(); 367 DECLARE_TRACE();
362 368
363 protected: 369 protected:
364 ~ChromeClient() override {} 370 ~ChromeClient() override {}
365 371
366 virtual void ShowMouseOverURL(const HitTestResult&) = 0; 372 virtual void ShowMouseOverURL(const HitTestResult&) = 0;
367 virtual void SetWindowRect(const IntRect&, LocalFrame&) = 0; 373 virtual void SetWindowRect(const IntRect&, LocalFrame&) = 0;
368 virtual bool OpenBeforeUnloadConfirmPanelDelegate(LocalFrame*, 374 virtual bool OpenBeforeUnloadConfirmPanelDelegate(LocalFrame*,
369 bool is_reload) = 0; 375 bool is_reload) = 0;
370 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; 376 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0;
(...skipping 13 matching lines...) Expand all
384 WeakMember<Node> last_mouse_over_node_; 390 WeakMember<Node> last_mouse_over_node_;
385 LayoutPoint last_tool_tip_point_; 391 LayoutPoint last_tool_tip_point_;
386 String last_tool_tip_text_; 392 String last_tool_tip_text_;
387 393
388 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 394 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
389 }; 395 };
390 396
391 } // namespace blink 397 } // namespace blink
392 398
393 #endif // ChromeClient_h 399 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698