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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 // contents of the page overlay. It also provides an z-order number for | 492 // contents of the page overlay. It also provides an z-order number for |
493 // the page overlay. The z-order number defines the paint order the page | 493 // the page overlay. The z-order number defines the paint order the page |
494 // overlays. Page overlays with larger z-order number will be painted after | 494 // overlays. Page overlays with larger z-order number will be painted after |
495 // page overlays with smaller z-order number. That is, they appear above | 495 // page overlays with smaller z-order number. That is, they appear above |
496 // the page overlays with smaller z-order number. If two page overlays have | 496 // the page overlays with smaller z-order number. If two page overlays have |
497 // the same z-order number, the later added one will be on top. | 497 // the same z-order number, the later added one will be on top. |
498 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; | 498 virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0; |
499 virtual void removePageOverlay(WebPageOverlay*) = 0; | 499 virtual void removePageOverlay(WebPageOverlay*) = 0; |
500 | 500 |
501 | 501 |
| 502 // i18n ----------------------------------------------------------------- |
| 503 |
| 504 // Inform the WebView that the accept languages have changed. |
| 505 // If the WebView wants to get the accept languages value, it will have |
| 506 // to call the WebViewClient::acceptLanguages(). |
| 507 virtual void acceptLanguagesChanged() = 0; |
| 508 |
502 // Testing functionality for TestRunner --------------------------------- | 509 // Testing functionality for TestRunner --------------------------------- |
503 | 510 |
504 protected: | 511 protected: |
505 ~WebView() {} | 512 ~WebView() {} |
506 }; | 513 }; |
507 | 514 |
508 } // namespace blink | 515 } // namespace blink |
509 | 516 |
510 #endif | 517 #endif |
OLD | NEW |