OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 virtual void didChangeWindowResizerRect() { } | 239 virtual void didChangeWindowResizerRect() { } |
240 | 240 |
241 // The page background color. Can be used for filling in areas without | 241 // The page background color. Can be used for filling in areas without |
242 // content. | 242 // content. |
243 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } | 243 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } |
244 | 244 |
245 // The currently open page popup, which are calendar and datalist pickers | 245 // The currently open page popup, which are calendar and datalist pickers |
246 // but not the select popup. | 246 // but not the select popup. |
247 virtual WebPagePopup* pagePopup() const { return 0; } | 247 virtual WebPagePopup* pagePopup() const { return 0; } |
248 | 248 |
249 // Notification about the top controls height. If the boolean is true, then | |
250 // the embedder shrunk the WebView size by the top controls height. | |
251 virtual void setTopControlsHeight(float height, bool topControlsShrinkLayout
Size) { } | |
252 | |
253 // Updates top controls constraints and current state. Allows embedder to | 249 // Updates top controls constraints and current state. Allows embedder to |
254 // control what are valid states for top controls and if it should animate. | 250 // control what are valid states for top controls and if it should animate. |
255 virtual void updateTopControlsState(WebTopControlsState constraints, WebTopC
ontrolsState current, bool animate) { } | 251 virtual void updateTopControlsState(WebTopControlsState constraints, WebTopC
ontrolsState current, bool animate) { } |
256 | 252 |
257 protected: | 253 protected: |
258 ~WebWidget() { } | 254 ~WebWidget() { } |
259 }; | 255 }; |
260 | 256 |
261 } // namespace blink | 257 } // namespace blink |
262 | 258 |
263 #endif | 259 #endif |
OLD | NEW |