OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // Informs the WebWidget that the resizer rect changed. Happens for example | 254 // Informs the WebWidget that the resizer rect changed. Happens for example |
255 // on mac, when a widget appears below the WebWidget without changing the | 255 // on mac, when a widget appears below the WebWidget without changing the |
256 // WebWidget's size (WebWidget::resize() automatically checks the resizer | 256 // WebWidget's size (WebWidget::resize() automatically checks the resizer |
257 // rect.) | 257 // rect.) |
258 virtual void didChangeWindowResizerRect() { } | 258 virtual void didChangeWindowResizerRect() { } |
259 | 259 |
260 // The page background color. Can be used for filling in areas without | 260 // The page background color. Can be used for filling in areas without |
261 // content. | 261 // content. |
262 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } | 262 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } |
263 | 263 |
| 264 // Sets the height subtracted from the Widget to accomodate the top controls
. |
| 265 virtual void setTopControlsLayoutHeight(float) { } |
| 266 |
264 protected: | 267 protected: |
265 ~WebWidget() { } | 268 ~WebWidget() { } |
266 }; | 269 }; |
267 | 270 |
268 } // namespace blink | 271 } // namespace blink |
269 | 272 |
270 #endif | 273 #endif |
OLD | NEW |