| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 virtual void didChangeWindowResizerRect() { } | 264 virtual void didChangeWindowResizerRect() { } |
| 265 | 265 |
| 266 // The page background color. Can be used for filling in areas without | 266 // The page background color. Can be used for filling in areas without |
| 267 // content. | 267 // content. |
| 268 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } | 268 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } |
| 269 | 269 |
| 270 // The currently open page popup, which are calendar and datalist pickers | 270 // The currently open page popup, which are calendar and datalist pickers |
| 271 // but not the select popup. | 271 // but not the select popup. |
| 272 virtual WebPagePopup* pagePopup() const { return 0; } | 272 virtual WebPagePopup* pagePopup() const { return 0; } |
| 273 | 273 |
| 274 // Sets the height subtracted from the Widget to accomodate the top controls
. | 274 // TODO(aelias): Delete this after Blink roll. |
| 275 virtual void setTopControlsLayoutHeight(float) { } | 275 virtual void setTopControlsLayoutHeight(float) { } |
| 276 | 276 |
| 277 // Notification about the top controls height. If the boolean is true, then |
| 278 // the viewport was shrunk by the top controls height as of the last Resize. |
| 279 virtual void setTopControlsHeight(float height, bool topControlsShrinkLayout
Size) { } |
| 280 |
| 277 protected: | 281 protected: |
| 278 ~WebWidget() { } | 282 ~WebWidget() { } |
| 279 }; | 283 }; |
| 280 | 284 |
| 281 } // namespace blink | 285 } // namespace blink |
| 282 | 286 |
| 283 #endif | 287 #endif |
| OLD | NEW |