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

Side by Side Diff: Source/WebKit/chromium/src/WebLayerTreeView.cpp

Issue 10146014: Merge 113677 - [chromium] Viewport is not filled when out of texture memory on mac (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void WebLayerTreeView::setViewportSize(const WebSize& viewportSize) 90 void WebLayerTreeView::setViewportSize(const WebSize& viewportSize)
91 { 91 {
92 m_private->setViewportSize(viewportSize); 92 m_private->setViewportSize(viewportSize);
93 } 93 }
94 94
95 WebSize WebLayerTreeView::viewportSize() const 95 WebSize WebLayerTreeView::viewportSize() const
96 { 96 {
97 return WebSize(m_private->viewportSize()); 97 return WebSize(m_private->viewportSize());
98 } 98 }
99 99
100 void WebLayerTreeView::setBackgroundColor(WebColor color)
101 {
102 m_private->setBackgroundColor(color);
103 }
104
100 void WebLayerTreeView::setVisible(bool visible) 105 void WebLayerTreeView::setVisible(bool visible)
101 { 106 {
102 m_private->setVisible(visible); 107 m_private->setVisible(visible);
103 } 108 }
104 109
105 void WebLayerTreeView::setPageScaleFactorAndLimits(float pageScaleFactor, float minimum, float maximum) 110 void WebLayerTreeView::setPageScaleFactorAndLimits(float pageScaleFactor, float minimum, float maximum)
106 { 111 {
107 m_private->setPageScaleFactorAndLimits(pageScaleFactor, minimum, maximum); 112 m_private->setPageScaleFactorAndLimits(pageScaleFactor, minimum, maximum);
108 } 113 }
109 114
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 { 159 {
155 return GraphicsContext3DPrivate::extractWebGraphicsContext3D(m_private->cont ext()); 160 return GraphicsContext3DPrivate::extractWebGraphicsContext3D(m_private->cont ext());
156 } 161 }
157 162
158 void WebLayerTreeView::loseCompositorContext(int numTimes) 163 void WebLayerTreeView::loseCompositorContext(int numTimes)
159 { 164 {
160 m_private->loseContext(numTimes); 165 m_private->loseContext(numTimes);
161 } 166 }
162 167
163 } // namespace WebKit 168 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/NonCompositedContentHost.cpp ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698