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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 2863913002: Change AudioOutputDeviceClientImpl to use WebLocalFrameBase and move to modules. (Closed)
Patch Set: Use chrome client to create instances of WebLocalFrameBase. 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class KeyboardEvent; 70 class KeyboardEvent;
71 class LocalFrame; 71 class LocalFrame;
72 class Node; 72 class Node;
73 class Page; 73 class Page;
74 class PopupOpeningObserver; 74 class PopupOpeningObserver;
75 class WebDragData; 75 class WebDragData;
76 class WebFrameScheduler; 76 class WebFrameScheduler;
77 class WebImage; 77 class WebImage;
78 class WebLayer; 78 class WebLayer;
79 class WebLayerTreeView; 79 class WebLayerTreeView;
80 class WebLocalFrameBase;
80 81
81 struct CompositedSelection; 82 struct CompositedSelection;
82 struct DateTimeChooserParameters; 83 struct DateTimeChooserParameters;
83 struct FrameLoadRequest; 84 struct FrameLoadRequest;
84 struct ViewportDescription; 85 struct ViewportDescription;
85 struct WebPoint; 86 struct WebPoint;
86 struct WebScreenInfo; 87 struct WebScreenInfo;
87 struct WindowFeatures; 88 struct WindowFeatures;
88 89
89 class CORE_EXPORT ChromeClient : public PlatformChromeClient { 90 class CORE_EXPORT ChromeClient : public PlatformChromeClient {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 BlameContext*) = 0; 346 BlameContext*) = 0;
346 347
347 // Returns the time of the beginning of the last beginFrame, in seconds, if 348 // Returns the time of the beginning of the last beginFrame, in seconds, if
348 // any, and 0.0 otherwise. 349 // any, and 0.0 otherwise.
349 virtual double LastFrameTimeMonotonic() const { return 0.0; } 350 virtual double LastFrameTimeMonotonic() const { return 0.0; }
350 351
351 virtual void InstallSupplements(LocalFrame&) {} 352 virtual void InstallSupplements(LocalFrame&) {}
352 353
353 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; } 354 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; }
354 355
356 virtual WebLocalFrameBase* CreateWebLocalFrameBase(LocalFrame*) = 0;
357
355 DECLARE_TRACE(); 358 DECLARE_TRACE();
356 359
357 protected: 360 protected:
358 ~ChromeClient() override {} 361 ~ChromeClient() override {}
359 362
360 virtual void ShowMouseOverURL(const HitTestResult&) = 0; 363 virtual void ShowMouseOverURL(const HitTestResult&) = 0;
361 virtual void SetWindowRect(const IntRect&, LocalFrame&) = 0; 364 virtual void SetWindowRect(const IntRect&, LocalFrame&) = 0;
362 virtual bool OpenBeforeUnloadConfirmPanelDelegate(LocalFrame*, 365 virtual bool OpenBeforeUnloadConfirmPanelDelegate(LocalFrame*,
363 bool is_reload) = 0; 366 bool is_reload) = 0;
364 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; 367 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0;
(...skipping 13 matching lines...) Expand all
378 WeakMember<Node> last_mouse_over_node_; 381 WeakMember<Node> last_mouse_over_node_;
379 LayoutPoint last_tool_tip_point_; 382 LayoutPoint last_tool_tip_point_;
380 String last_tool_tip_text_; 383 String last_tool_tip_text_;
381 384
382 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 385 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
383 }; 386 };
384 387
385 } // namespace blink 388 } // namespace blink
386 389
387 #endif // ChromeClient_h 390 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698