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

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: rebased to latest Created 5 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
« no previous file with comments | « Source/core/layout/LayoutEmbeddedObject.cpp ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 void focus() override { } 79 void focus() override { }
79 80
80 bool canTakeFocus(WebFocusType) override { return false; } 81 bool canTakeFocus(WebFocusType) override { return false; }
81 void takeFocus(WebFocusType) override { } 82 void takeFocus(WebFocusType) override { }
82 83
83 void focusedNodeChanged(Node*, Node*) override { } 84 void focusedNodeChanged(Node*, Node*) override { }
84 void focusedFrameChanged(LocalFrame*) override { } 85 void focusedFrameChanged(LocalFrame*) override { }
85 Page* createWindow(LocalFrame*, const FrameLoadRequest&, const WindowFeature s&, NavigationPolicy, ShouldSendReferrer) override { return nullptr; } 86 Page* createWindow(LocalFrame*, const FrameLoadRequest&, const WindowFeature s&, NavigationPolicy, ShouldSendReferrer) override { return nullptr; }
86 void show(NavigationPolicy) override { } 87 void show(NavigationPolicy) override { }
87 88
89 void didOverscroll(const FloatSize&, const FloatSize&, const FloatPoint&, co nst FloatSize&) override { }
90
88 void setToolbarsVisible(bool) override { } 91 void setToolbarsVisible(bool) override { }
89 bool toolbarsVisible() override { return false; } 92 bool toolbarsVisible() override { return false; }
90 93
91 void setStatusbarVisible(bool) override { } 94 void setStatusbarVisible(bool) override { }
92 bool statusbarVisible() override { return false; } 95 bool statusbarVisible() override { return false; }
93 96
94 void setScrollbarsVisible(bool) override { } 97 void setScrollbarsVisible(bool) override { }
95 bool scrollbarsVisible() override { return false; } 98 bool scrollbarsVisible() override { return false; }
96 99
97 void setMenubarVisible(bool) override { } 100 void setMenubarVisible(bool) override { }
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 virtual ~EmptyDragClient() {} 316 virtual ~EmptyDragClient() {}
314 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 317 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
315 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 318 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
316 }; 319 };
317 320
318 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 321 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
319 322
320 } // namespace blink 323 } // namespace blink
321 324
322 #endif // EmptyClients_h 325 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutEmbeddedObject.cpp ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698