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

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

Issue 2943983003: chrome/blink: Add functionality for in-product help for media elements. (Closed)
Patch Set: Created 3 years, 6 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 27 matching lines...) Expand all
38 #include "platform/graphics/TouchAction.h" 38 #include "platform/graphics/TouchAction.h"
39 #include "platform/heap/Handle.h" 39 #include "platform/heap/Handle.h"
40 #include "platform/scroll/ScrollTypes.h" 40 #include "platform/scroll/ScrollTypes.h"
41 #include "platform/wtf/Forward.h" 41 #include "platform/wtf/Forward.h"
42 #include "platform/wtf/Optional.h" 42 #include "platform/wtf/Optional.h"
43 #include "platform/wtf/Vector.h" 43 #include "platform/wtf/Vector.h"
44 #include "public/platform/BlameContext.h" 44 #include "public/platform/BlameContext.h"
45 #include "public/platform/WebDragOperation.h" 45 #include "public/platform/WebDragOperation.h"
46 #include "public/platform/WebEventListenerProperties.h" 46 #include "public/platform/WebEventListenerProperties.h"
47 #include "public/platform/WebFocusType.h" 47 #include "public/platform/WebFocusType.h"
48 #include "public/web/WebMediaIPH.h"
48 49
49 // To avoid conflicts with the CreateWindow macro from the Windows SDK... 50 // To avoid conflicts with the CreateWindow macro from the Windows SDK...
50 #undef CreateWindow 51 #undef CreateWindow
51 52
52 namespace blink { 53 namespace blink {
53 54
54 class ColorChooser; 55 class ColorChooser;
55 class ColorChooserClient; 56 class ColorChooserClient;
56 class CompositorWorkerProxyClient; 57 class CompositorWorkerProxyClient;
57 class CompositorAnimationTimeline; 58 class CompositorAnimationTimeline;
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; } 357 virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; }
357 358
358 virtual WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) { 359 virtual WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) {
359 return nullptr; 360 return nullptr;
360 } 361 }
361 362
362 virtual WebRemoteFrameBase* GetWebRemoteFrameBase(RemoteFrame&) { 363 virtual WebRemoteFrameBase* GetWebRemoteFrameBase(RemoteFrame&) {
363 return nullptr; 364 return nullptr;
364 } 365 }
365 366
367 virtual std::unique_ptr<WebMediaIPH> CreateWebMediaIPH(LocalFrame*) {
368 return nullptr;
369 }
370
366 virtual void RequestDecode( 371 virtual void RequestDecode(
367 LocalFrame*, 372 LocalFrame*,
368 const PaintImage& image, 373 const PaintImage& image,
369 std::unique_ptr<WTF::Function<void(bool)>> callback) { 374 std::unique_ptr<WTF::Function<void(bool)>> callback) {
370 (*callback)(false); 375 (*callback)(false);
371 } 376 }
372 377
373 DECLARE_TRACE(); 378 DECLARE_TRACE();
374 379
375 protected: 380 protected:
(...skipping 23 matching lines...) Expand all
399 WeakMember<Node> last_mouse_over_node_; 404 WeakMember<Node> last_mouse_over_node_;
400 LayoutPoint last_tool_tip_point_; 405 LayoutPoint last_tool_tip_point_;
401 String last_tool_tip_text_; 406 String last_tool_tip_text_;
402 407
403 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 408 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
404 }; 409 };
405 410
406 } // namespace blink 411 } // namespace blink
407 412
408 #endif // ChromeClient_h 413 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698