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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameHost.h

Issue 2730313002: Remove FrameHost::overscrollController() methods (Closed)
Patch Set: Created 3 years, 9 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 #include "wtf/Allocator.h" 36 #include "wtf/Allocator.h"
37 #include "wtf/Noncopyable.h" 37 #include "wtf/Noncopyable.h"
38 #include "wtf/text/AtomicString.h" 38 #include "wtf/text/AtomicString.h"
39 #include <memory> 39 #include <memory>
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class BrowserControls; 43 class BrowserControls;
44 class ConsoleMessageStorage; 44 class ConsoleMessageStorage;
45 class EventHandlerRegistry; 45 class EventHandlerRegistry;
46 class OverscrollController;
47 class Page; 46 class Page;
48 class TopDocumentRootScrollerController; 47 class TopDocumentRootScrollerController;
49 48
50 // FrameHost is the set of global data shared between multiple frames 49 // FrameHost is the set of global data shared between multiple frames
51 // and is provided by the embedder to each frame when created. 50 // and is provided by the embedder to each frame when created.
52 // FrameHost currently corresponds to the Page object in core/page 51 // FrameHost currently corresponds to the Page object in core/page
53 // however the concept of a Page is moving up out of Blink. 52 // however the concept of a Page is moving up out of Blink.
54 // In an out-of-process iframe world, a single Page may have 53 // In an out-of-process iframe world, a single Page may have
55 // multiple frames in different process, thus Page becomes a 54 // multiple frames in different process, thus Page becomes a
56 // browser-level concept and Blink core/ only knows about its LocalFrame (and 55 // browser-level concept and Blink core/ only knows about its LocalFrame (and
57 // FrameHost). Separating Page from the rest of core/ through this indirection 56 // FrameHost). Separating Page from the rest of core/ through this indirection
58 // allows us to slowly refactor Page without breaking the rest of core. 57 // allows us to slowly refactor Page without breaking the rest of core.
59 // TODO(sashab): Merge FrameHost back into Page. crbug.com/688614 58 // TODO(sashab): Merge FrameHost back into Page. crbug.com/688614
60 class CORE_EXPORT FrameHost final 59 class CORE_EXPORT FrameHost final
61 : public GarbageCollectedFinalized<FrameHost> { 60 : public GarbageCollectedFinalized<FrameHost> {
62 WTF_MAKE_NONCOPYABLE(FrameHost); 61 WTF_MAKE_NONCOPYABLE(FrameHost);
63 62
64 public: 63 public:
65 static FrameHost* create(Page&); 64 static FrameHost* create(Page&);
66 ~FrameHost(); 65 ~FrameHost();
67 66
68 Page& page(); 67 Page& page();
69 const Page& page() const; 68 const Page& page() const;
70 69
71 BrowserControls& browserControls(); 70 BrowserControls& browserControls();
72 const BrowserControls& browserControls() const; 71 const BrowserControls& browserControls() const;
73 72
74 OverscrollController& overscrollController();
75 const OverscrollController& overscrollController() const;
76
77 EventHandlerRegistry& eventHandlerRegistry(); 73 EventHandlerRegistry& eventHandlerRegistry();
78 const EventHandlerRegistry& eventHandlerRegistry() const; 74 const EventHandlerRegistry& eventHandlerRegistry() const;
79 75
80 ConsoleMessageStorage& consoleMessageStorage(); 76 ConsoleMessageStorage& consoleMessageStorage();
81 const ConsoleMessageStorage& consoleMessageStorage() const; 77 const ConsoleMessageStorage& consoleMessageStorage() const;
82 78
83 TopDocumentRootScrollerController& globalRootScrollerController() const; 79 TopDocumentRootScrollerController& globalRootScrollerController() const;
84 80
85 DECLARE_TRACE(); 81 DECLARE_TRACE();
86 82
(...skipping 19 matching lines...) Expand all
106 const Member<TopDocumentRootScrollerController> 102 const Member<TopDocumentRootScrollerController>
107 m_globalRootScrollerController; 103 m_globalRootScrollerController;
108 104
109 AtomicString m_overrideEncoding; 105 AtomicString m_overrideEncoding;
110 int m_subframeCount; 106 int m_subframeCount;
111 }; 107 };
112 108
113 } // namespace blink 109 } // namespace blink
114 110
115 #endif // FrameHost_h 111 #endif // FrameHost_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698