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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 virtual void didChangeWindowResizerRect() { } | 255 virtual void didChangeWindowResizerRect() { } |
256 | 256 |
257 // The page background color. Can be used for filling in areas without | 257 // The page background color. Can be used for filling in areas without |
258 // content. | 258 // content. |
259 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } | 259 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } |
260 | 260 |
261 // The currently open page popup, which are calendar and datalist pickers | 261 // The currently open page popup, which are calendar and datalist pickers |
262 // but not the select popup. | 262 // but not the select popup. |
263 virtual WebPagePopup* pagePopup() const { return 0; } | 263 virtual WebPagePopup* pagePopup() const { return 0; } |
264 | 264 |
| 265 // Sets the height subtracted from the Widget to accomodate the top controls
. |
| 266 virtual void setTopControlsLayoutHeight(float) { } |
| 267 |
265 protected: | 268 protected: |
266 ~WebWidget() { } | 269 ~WebWidget() { } |
267 }; | 270 }; |
268 | 271 |
269 } // namespace blink | 272 } // namespace blink |
270 | 273 |
271 #endif | 274 #endif |
OLD | NEW |