OLD | NEW |
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 UseCounter& useCounter(); | 84 UseCounter& useCounter(); |
85 const UseCounter& useCounter() const; | 85 const UseCounter& useCounter() const; |
86 | 86 |
87 Deprecation& deprecation(); | 87 Deprecation& deprecation(); |
88 const Deprecation& deprecation() const; | 88 const Deprecation& deprecation() const; |
89 | 89 |
90 // Corresponds to pixel density of the device where this Page is | 90 // Corresponds to pixel density of the device where this Page is |
91 // being displayed. In multi-monitor setups this can vary between pages. | 91 // being displayed. In multi-monitor setups this can vary between pages. |
92 // This value does not account for Page zoom, use LocalFrame::devicePixelRat
io instead. | 92 // This value does not account for Page zoom, use LocalFrame::devicePixelRat
io instead. |
93 float deviceScaleFactor() const; | 93 // This is to be deprecated. Use this with caution. |
| 94 // 1) If you need to scale the content per device scale factor, this is stil
l valid. |
| 95 // In use-zoom-for-dsf mode, this is always 1, and will be remove when tr
ansition is complete. |
| 96 // 2) If you want to compute the device related measure (such as device pixe
l height, or the scale factor for drag image), |
| 97 // use ChromeClient::screenInfo() instead. |
| 98 float deviceScaleFactorDeprecated() const; |
94 | 99 |
95 RootScroller* rootScroller(); | 100 RootScroller* rootScroller(); |
96 const RootScroller* rootScroller() const; | 101 const RootScroller* rootScroller() const; |
97 | 102 |
98 TopControls& topControls(); | 103 TopControls& topControls(); |
99 const TopControls& topControls() const; | 104 const TopControls& topControls() const; |
100 | 105 |
101 OverscrollController& overscrollController(); | 106 OverscrollController& overscrollController(); |
102 const OverscrollController& overscrollController() const; | 107 const OverscrollController& overscrollController() const; |
103 | 108 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 const Member<EventHandlerRegistry> m_eventHandlerRegistry; | 147 const Member<EventHandlerRegistry> m_eventHandlerRegistry; |
143 const Member<ConsoleMessageStorage> m_consoleMessageStorage; | 148 const Member<ConsoleMessageStorage> m_consoleMessageStorage; |
144 | 149 |
145 AtomicString m_overrideEncoding; | 150 AtomicString m_overrideEncoding; |
146 int m_subframeCount; | 151 int m_subframeCount; |
147 }; | 152 }; |
148 | 153 |
149 } // namespace blink | 154 } // namespace blink |
150 | 155 |
151 #endif // FrameHost_h | 156 #endif // FrameHost_h |
OLD | NEW |