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

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

Issue 724673003: Don't make :hover sticky on tap on sites that set a mobile viewport set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Refactored logic and corrected viewport checking Created 6 years, 1 month 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/page/EventHandler.cpp ('k') | 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 reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void didCommitLoad(LocalFrame*); 202 void didCommitLoad(LocalFrame*);
203 203
204 void acceptLanguagesChanged(); 204 void acceptLanguagesChanged();
205 205
206 static void networkStateChanged(bool online); 206 static void networkStateChanged(bool online);
207 PassOwnPtr<LifecycleNotifier<Page>> createLifecycleNotifier(); 207 PassOwnPtr<LifecycleNotifier<Page>> createLifecycleNotifier();
208 208
209 void trace(Visitor*); 209 void trace(Visitor*);
210 void willBeDestroyed(); 210 void willBeDestroyed();
211 211
212 bool shouldDisableDesktopWorkarounds();
213
212 protected: 214 protected:
213 PageLifecycleNotifier& lifecycleNotifier(); 215 PageLifecycleNotifier& lifecycleNotifier();
214 216
215 private: 217 private:
216 void initGroup(); 218 void initGroup();
217 219
218 void setTimerAlignmentInterval(double); 220 void setTimerAlignmentInterval(double);
219 221
220 void setNeedsLayoutInAllFrames(); 222 void setNeedsLayoutInAllFrames();
221 223
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu ltisamplingChangedObservers; 281 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu ltisamplingChangedObservers;
280 282
281 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 283 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
282 // FIXME: Most of the members of Page should move onto FrameHost. 284 // FIXME: Most of the members of Page should move onto FrameHost.
283 OwnPtrWillBeMember<FrameHost> m_frameHost; 285 OwnPtrWillBeMember<FrameHost> m_frameHost;
284 }; 286 };
285 287
286 } // namespace blink 288 } // namespace blink
287 289
288 #endif // Page_h 290 #endif // Page_h
OLDNEW
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698