| 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 21 matching lines...) Expand all Loading... |
| 32 #define WebWidget_h | 32 #define WebWidget_h |
| 33 | 33 |
| 34 #include "../platform/WebCanvas.h" | 34 #include "../platform/WebCanvas.h" |
| 35 #include "../platform/WebCommon.h" | 35 #include "../platform/WebCommon.h" |
| 36 #include "../platform/WebRect.h" | 36 #include "../platform/WebRect.h" |
| 37 #include "../platform/WebSize.h" | 37 #include "../platform/WebSize.h" |
| 38 #include "WebCompositionUnderline.h" | 38 #include "WebCompositionUnderline.h" |
| 39 #include "WebTextDirection.h" | 39 #include "WebTextDirection.h" |
| 40 #include "WebTextInputInfo.h" | 40 #include "WebTextInputInfo.h" |
| 41 | 41 |
| 42 namespace WebKit { | 42 namespace blink { |
| 43 | 43 |
| 44 class WebInputEvent; | 44 class WebInputEvent; |
| 45 class WebLayerTreeView; | 45 class WebLayerTreeView; |
| 46 class WebMouseEvent; | 46 class WebMouseEvent; |
| 47 class WebString; | 47 class WebString; |
| 48 struct WebPoint; | 48 struct WebPoint; |
| 49 struct WebRenderingStats; | 49 struct WebRenderingStats; |
| 50 template <typename T> class WebVector; | 50 template <typename T> class WebVector; |
| 51 | 51 |
| 52 class WebWidget { | 52 class WebWidget { |
| (...skipping 202 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 protected: | 261 protected: |
| 262 ~WebWidget() { } | 262 ~WebWidget() { } |
| 263 }; | 263 }; |
| 264 | 264 |
| 265 } // namespace WebKit | 265 } // namespace blink |
| 266 | 266 |
| 267 #endif | 267 #endif |
| OLD | NEW |