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

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

Issue 2860093003: Implement device-ram client hints header (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
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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // discoverable via JS. 340 // discoverable via JS.
341 // TODO(dcheng): Try to remove |DOMWindow::m_windowIsClosing| in favor of 341 // TODO(dcheng): Try to remove |DOMWindow::m_windowIsClosing| in favor of
342 // this. However, this depends on resolving https://crbug.com/674641 342 // this. However, this depends on resolving https://crbug.com/674641
343 bool is_closing_; 343 bool is_closing_;
344 344
345 bool tab_key_cycles_through_elements_; 345 bool tab_key_cycles_through_elements_;
346 bool suspended_; 346 bool suspended_;
347 347
348 float device_scale_factor_; 348 float device_scale_factor_;
349 349
350 float device_ram_;
351
350 PageVisibilityState visibility_state_; 352 PageVisibilityState visibility_state_;
351 353
352 bool is_cursor_visible_; 354 bool is_cursor_visible_;
353 355
354 #if DCHECK_IS_ON() 356 #if DCHECK_IS_ON()
355 bool is_painting_ = false; 357 bool is_painting_ = false;
356 #endif 358 #endif
357 359
358 int subframe_count_; 360 int subframe_count_;
359 }; 361 };
360 362
361 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; 363 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;
362 364
363 } // namespace blink 365 } // namespace blink
364 366
365 #endif // Page_h 367 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698