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

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

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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 BrowserControls& FrameHost::browserControls() { 68 BrowserControls& FrameHost::browserControls() {
69 return *m_browserControls; 69 return *m_browserControls;
70 } 70 }
71 71
72 const BrowserControls& FrameHost::browserControls() const { 72 const BrowserControls& FrameHost::browserControls() const {
73 return *m_browserControls; 73 return *m_browserControls;
74 } 74 }
75 75
76 OverscrollController& FrameHost::overscrollController() {
77 return page().overscrollController();
78 }
79
80 const OverscrollController& FrameHost::overscrollController() const {
81 return page().overscrollController();
82 }
83
84 EventHandlerRegistry& FrameHost::eventHandlerRegistry() { 76 EventHandlerRegistry& FrameHost::eventHandlerRegistry() {
85 return *m_eventHandlerRegistry; 77 return *m_eventHandlerRegistry;
86 } 78 }
87 79
88 const EventHandlerRegistry& FrameHost::eventHandlerRegistry() const { 80 const EventHandlerRegistry& FrameHost::eventHandlerRegistry() const {
89 return *m_eventHandlerRegistry; 81 return *m_eventHandlerRegistry;
90 } 82 }
91 83
92 ConsoleMessageStorage& FrameHost::consoleMessageStorage() { 84 ConsoleMessageStorage& FrameHost::consoleMessageStorage() {
93 return *m_consoleMessageStorage; 85 return *m_consoleMessageStorage;
(...skipping 29 matching lines...) Expand all
123 #endif 115 #endif
124 116
125 int FrameHost::subframeCount() const { 117 int FrameHost::subframeCount() const {
126 #if DCHECK_IS_ON() 118 #if DCHECK_IS_ON()
127 checkFrameCountConsistency(m_subframeCount + 1, m_page->mainFrame()); 119 checkFrameCountConsistency(m_subframeCount + 1, m_page->mainFrame());
128 #endif 120 #endif
129 return m_subframeCount; 121 return m_subframeCount;
130 } 122 }
131 123
132 } // namespace blink 124 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698