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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 bool VisualViewportSuppliesScrollbars() const; | 240 bool VisualViewportSuppliesScrollbars() const; |
241 | 241 |
242 void UpdateStyleAndLayoutIgnorePendingStylesheets(); | 242 void UpdateStyleAndLayoutIgnorePendingStylesheets(); |
243 | 243 |
244 void EnqueueScrollEvent(); | 244 void EnqueueScrollEvent(); |
245 void EnqueueResizeEvent(); | 245 void EnqueueResizeEvent(); |
246 | 246 |
247 // GraphicsLayerClient implementation. | 247 // GraphicsLayerClient implementation. |
248 bool NeedsRepaint(const GraphicsLayer&) const { | 248 bool NeedsRepaint(const GraphicsLayer&) const { |
249 ASSERT_NOT_REACHED(); | 249 NOTREACHED(); |
250 return true; | 250 return true; |
251 } | 251 } |
252 IntRect ComputeInterestRect(const GraphicsLayer*, const IntRect&) const; | 252 IntRect ComputeInterestRect(const GraphicsLayer*, const IntRect&) const; |
253 void PaintContents(const GraphicsLayer*, | 253 void PaintContents(const GraphicsLayer*, |
254 GraphicsContext&, | 254 GraphicsContext&, |
255 GraphicsLayerPaintingPhase, | 255 GraphicsLayerPaintingPhase, |
256 const IntRect&) const override; | 256 const IntRect&) const override; |
257 String DebugName(const GraphicsLayer*) const override; | 257 String DebugName(const GraphicsLayer*) const override; |
258 | 258 |
259 void SetupScrollbar(WebScrollbar::Orientation); | 259 void SetupScrollbar(WebScrollbar::Orientation); |
(...skipping 23 matching lines...) Expand all Loading... |
283 float scale_; | 283 float scale_; |
284 IntSize size_; | 284 IntSize size_; |
285 float browser_controls_adjustment_; | 285 float browser_controls_adjustment_; |
286 float max_page_scale_; | 286 float max_page_scale_; |
287 bool track_pinch_zoom_stats_for_page_; | 287 bool track_pinch_zoom_stats_for_page_; |
288 }; | 288 }; |
289 | 289 |
290 } // namespace blink | 290 } // namespace blink |
291 | 291 |
292 #endif // VisualViewport_h | 292 #endif // VisualViewport_h |
OLD | NEW |