OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |