Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: public/web/WebView.h

Issue 284793003: Implement languagechange event, fired when accept languages changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« Source/core/page/Page.cpp ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« Source/core/page/Page.cpp ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698