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

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

Issue 2876393002: Clean up duplicate Page methods (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('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, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
5 * (http://www.torchmobile.com/) 5 * (http://www.torchmobile.com/)
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 ScrollingCoordinator* GetScrollingCoordinator(); 178 ScrollingCoordinator* GetScrollingCoordinator();
179 179
180 ClientRectList* NonFastScrollableRects(const LocalFrame*); 180 ClientRectList* NonFastScrollableRects(const LocalFrame*);
181 181
182 Settings& GetSettings() const { return *settings_; } 182 Settings& GetSettings() const { return *settings_; }
183 183
184 UseCounter& GetUseCounter() { return use_counter_; } 184 UseCounter& GetUseCounter() { return use_counter_; }
185 Deprecation& GetDeprecation() { return deprecation_; } 185 Deprecation& GetDeprecation() { return deprecation_; }
186 HostsUsingFeatures& GetHostsUsingFeatures() { return hosts_using_features_; } 186 HostsUsingFeatures& GetHostsUsingFeatures() { return hosts_using_features_; }
187 187
188 PageScaleConstraintsSet& GetPageScaleConstraintsSet(); 188 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const;
189 const PageScaleConstraintsSet& GetPageScaleConstraintsSet() const; 189 BrowserControls& GetBrowserControls() const;
190 190 ConsoleMessageStorage& GetConsoleMessageStorage() const;
191 BrowserControls& GetBrowserControls(); 191 EventHandlerRegistry& GetEventHandlerRegistry() const;
192 const BrowserControls& GetBrowserControls() const;
193
194 ConsoleMessageStorage& GetConsoleMessageStorage();
195 const ConsoleMessageStorage& GetConsoleMessageStorage() const;
196
197 EventHandlerRegistry& GetEventHandlerRegistry();
198 const EventHandlerRegistry& GetEventHandlerRegistry() const;
199
200 TopDocumentRootScrollerController& GlobalRootScrollerController() const; 192 TopDocumentRootScrollerController& GlobalRootScrollerController() const;
201 193 VisualViewport& GetVisualViewport() const;
202 VisualViewport& GetVisualViewport(); 194 OverscrollController& GetOverscrollController() const;
203 const VisualViewport& GetVisualViewport() const;
204
205 OverscrollController& GetOverscrollController();
206 const OverscrollController& GetOverscrollController() const;
207 195
208 void SetTabKeyCyclesThroughElements(bool b) { 196 void SetTabKeyCyclesThroughElements(bool b) {
209 tab_key_cycles_through_elements_ = b; 197 tab_key_cycles_through_elements_ = b;
210 } 198 }
211 bool TabKeyCyclesThroughElements() const { 199 bool TabKeyCyclesThroughElements() const {
212 return tab_key_cycles_through_elements_; 200 return tab_key_cycles_through_elements_;
213 } 201 }
214 202
215 // Suspension is used to implement the "Optionally, pause while waiting for 203 // Suspension is used to implement the "Optionally, pause while waiting for
216 // the user to acknowledge the message" step of simple dialog processing: 204 // the user to acknowledge the message" step of simple dialog processing:
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 #endif 344 #endif
357 345
358 int subframe_count_; 346 int subframe_count_;
359 }; 347 };
360 348
361 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; 349 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;
362 350
363 } // namespace blink 351 } // namespace blink
364 352
365 #endif // Page_h 353 #endif // Page_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698