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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 1056983004: OverscrollGlow for mainThread-{BLINK CHANGES} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests !!! Created 5 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 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 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 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "core/CoreExport.h" 32 #include "core/CoreExport.h"
33 #include "core/editing/UndoStep.h" 33 #include "core/editing/UndoStep.h"
34 #include "core/loader/FrameLoaderClient.h" 34 #include "core/loader/FrameLoaderClient.h"
35 #include "core/page/ChromeClient.h" 35 #include "core/page/ChromeClient.h"
36 #include "core/page/ContextMenuClient.h" 36 #include "core/page/ContextMenuClient.h"
37 #include "core/page/DragClient.h" 37 #include "core/page/DragClient.h"
38 #include "core/page/EditorClient.h" 38 #include "core/page/EditorClient.h"
39 #include "core/page/Page.h" 39 #include "core/page/Page.h"
40 #include "core/page/SpellCheckerClient.h" 40 #include "core/page/SpellCheckerClient.h"
41 #include "platform/DragImage.h" 41 #include "platform/DragImage.h"
42 #include "platform/geometry/FloatPoint.h"
42 #include "platform/geometry/IntRect.h" 43 #include "platform/geometry/IntRect.h"
43 #include "platform/heap/Handle.h" 44 #include "platform/heap/Handle.h"
44 #include "platform/network/ResourceError.h" 45 #include "platform/network/ResourceError.h"
45 #include "platform/text/TextCheckerClient.h" 46 #include "platform/text/TextCheckerClient.h"
46 #include "public/platform/WebFocusType.h" 47 #include "public/platform/WebFocusType.h"
47 #include "public/platform/WebScreenInfo.h" 48 #include "public/platform/WebScreenInfo.h"
48 #include "wtf/Forward.h" 49 #include "wtf/Forward.h"
49 #include <v8.h> 50 #include <v8.h>
50 51
51 /* 52 /*
(...skipping 26 matching lines...) Expand all
78 virtual void focus() override { } 79 virtual void focus() override { }
79 80
80 virtual bool canTakeFocus(WebFocusType) override { return false; } 81 virtual bool canTakeFocus(WebFocusType) override { return false; }
81 virtual void takeFocus(WebFocusType) override { } 82 virtual void takeFocus(WebFocusType) override { }
82 83
83 virtual void focusedNodeChanged(Node*, Node*) override { } 84 virtual void focusedNodeChanged(Node*, Node*) override { }
84 virtual void focusedFrameChanged(LocalFrame*) override { } 85 virtual void focusedFrameChanged(LocalFrame*) override { }
85 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) override { return 0; } 86 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) override { return 0; }
86 virtual void show(NavigationPolicy) override { } 87 virtual void show(NavigationPolicy) override { }
87 88
89 virtual void didOverscroll(FloatSize&, FloatSize&, FloatPoint&, FloatSize&) override { }
90
88 virtual void setToolbarsVisible(bool) override { } 91 virtual void setToolbarsVisible(bool) override { }
89 virtual bool toolbarsVisible() override { return false; } 92 virtual bool toolbarsVisible() override { return false; }
90 93
91 virtual void setStatusbarVisible(bool) override { } 94 virtual void setStatusbarVisible(bool) override { }
92 virtual bool statusbarVisible() override { return false; } 95 virtual bool statusbarVisible() override { return false; }
93 96
94 virtual void setScrollbarsVisible(bool) override { } 97 virtual void setScrollbarsVisible(bool) override { }
95 virtual bool scrollbarsVisible() override { return false; } 98 virtual bool scrollbarsVisible() override { return false; }
96 99
97 virtual void setMenubarVisible(bool) override { } 100 virtual void setMenubarVisible(bool) override { }
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 virtual ~EmptyDragClient() {} 310 virtual ~EmptyDragClient() {}
308 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 311 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
309 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 312 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
310 }; 313 };
311 314
312 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 315 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
313 316
314 } 317 }
315 318
316 #endif // EmptyClients_h 319 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698