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

Side by Side Diff: Source/core/rendering/RenderView.h

Issue 15927026: Enabled using viewport on desktop browsers behind experimental flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Created 7 years, 5 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 #ifndef NDEBUG 251 #ifndef NDEBUG
252 void checkLayoutState(const LayoutState&); 252 void checkLayoutState(const LayoutState&);
253 #endif 253 #endif
254 254
255 size_t getRetainedWidgets(Vector<RenderWidget*>&); 255 size_t getRetainedWidgets(Vector<RenderWidget*>&);
256 void releaseWidgets(Vector<RenderWidget*>&); 256 void releaseWidgets(Vector<RenderWidget*>&);
257 257
258 friend class LayoutStateMaintainer; 258 friend class LayoutStateMaintainer;
259 friend class LayoutStateDisabler; 259 friend class LayoutStateDisabler;
260 260
261 // This will be true for platforms without resizable windows like phones and tablets
262 bool hasFixedViewportSize() const;
263
261 protected: 264 protected:
262 FrameView* m_frameView; 265 FrameView* m_frameView;
263 266
264 RenderObject* m_selectionStart; 267 RenderObject* m_selectionStart;
265 RenderObject* m_selectionEnd; 268 RenderObject* m_selectionEnd;
266 int m_selectionStartPos; 269 int m_selectionStartPos;
267 int m_selectionEndPos; 270 int m_selectionEndPos;
268 271
269 int m_maximalOutlineSize; // Used to apply a fudge factor to dirty-rect chec ks on blocks/tables. 272 int m_maximalOutlineSize; // Used to apply a fudge factor to dirty-rect chec ks on blocks/tables.
270 273
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 RenderObject::FlowThreadState m_flowThreadState; 404 RenderObject::FlowThreadState m_flowThreadState;
402 bool m_fragmenting; 405 bool m_fragmenting;
403 #ifndef NDEBUG 406 #ifndef NDEBUG
404 LayoutState* m_layoutState; 407 LayoutState* m_layoutState;
405 #endif 408 #endif
406 }; 409 };
407 410
408 } // namespace WebCore 411 } // namespace WebCore
409 412
410 #endif // RenderView_h 413 #endif // RenderView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698