| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 23 matching lines...) Expand all Loading... |
| 34 #include "../platform/WebString.h" | 34 #include "../platform/WebString.h" |
| 35 #include "../platform/WebVector.h" | 35 #include "../platform/WebVector.h" |
| 36 #include "WebDragOperation.h" | 36 #include "WebDragOperation.h" |
| 37 #include "WebPageVisibilityState.h" | 37 #include "WebPageVisibilityState.h" |
| 38 #include "WebWidget.h" | 38 #include "WebWidget.h" |
| 39 | 39 |
| 40 namespace WebKit { | 40 namespace WebKit { |
| 41 | 41 |
| 42 class WebAccessibilityObject; | 42 class WebAccessibilityObject; |
| 43 class WebAutofillClient; | 43 class WebAutofillClient; |
| 44 class WebBatteryStatus; | |
| 45 class WebDevToolsAgent; | 44 class WebDevToolsAgent; |
| 46 class WebDevToolsAgentClient; | 45 class WebDevToolsAgentClient; |
| 47 class WebDragData; | 46 class WebDragData; |
| 48 class WebFrame; | 47 class WebFrame; |
| 49 class WebFrameClient; | 48 class WebFrameClient; |
| 50 class WebGraphicsContext3D; | 49 class WebGraphicsContext3D; |
| 51 class WebHitTestResult; | 50 class WebHitTestResult; |
| 52 class WebNode; | 51 class WebNode; |
| 53 class WebPageOverlay; | 52 class WebPageOverlay; |
| 54 class WebPermissionClient; | 53 class WebPermissionClient; |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 // graphical appearance of the WebView. WebPageOverlay paints the | 489 // graphical appearance of the WebView. WebPageOverlay paints the |
| 491 // contents of the page overlay. It also provides an z-order number for | 490 // contents of the page overlay. It also provides an z-order number for |
| 492 // the page overlay. The z-order number defines the paint order the page | 491 // the page overlay. The z-order number defines the paint order the page |
| 493 // overlays. Page overlays with larger z-order number will be painted after | 492 // overlays. Page overlays with larger z-order number will be painted after |
| 494 // page overlays with smaller z-order number. That is, they appear above | 493 // page overlays with smaller z-order number. That is, they appear above |
| 495 // the page overlays with smaller z-order number. If two page overlays have | 494 // the page overlays with smaller z-order number. If two page overlays have |
| 496 // the same z-order number, the later added one will be on top. | 495 // the same z-order number, the later added one will be on top. |
| 497 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; | 496 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; |
| 498 virtual void removePageOverlay(WebPageOverlay*) = 0; | 497 virtual void removePageOverlay(WebPageOverlay*) = 0; |
| 499 | 498 |
| 500 // Battery status API support ------------------------------------------- | |
| 501 | |
| 502 // Updates the battery status in the BatteryClient. This also triggers the | |
| 503 // appropriate JS events (e.g. sends a 'levelchange' event to JS if the | |
| 504 // level is changed in this update from the previous update). | |
| 505 virtual void updateBatteryStatus(const WebBatteryStatus&) { } | |
| 506 | |
| 507 // Testing functionality for TestRunner --------------------------------- | 499 // Testing functionality for TestRunner --------------------------------- |
| 508 | 500 |
| 509 protected: | 501 protected: |
| 510 ~WebView() {} | 502 ~WebView() {} |
| 511 }; | 503 }; |
| 512 | 504 |
| 513 } // namespace WebKit | 505 } // namespace WebKit |
| 514 | 506 |
| 515 #endif | 507 #endif |
| OLD | NEW |