summaryrefslogtreecommitdiffstats
path: root/views/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/view.h')
-rw-r--r--views/view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/view.h b/views/view.h
index f2469f7..29cd1a9 100644
--- a/views/view.h
+++ b/views/view.h
@@ -982,6 +982,12 @@ class View : public AcceleratorTarget {
// call this method on the RootView.
virtual void ThemeChanged();
+ // Called when the locale has changed, overriding allows individual Views to
+ // update locale-dependent resources (strings, bitmaps) it may have cached
+ // internally. Subclasses that override this method must call the base class
+ // implementation to ensure child views are processed.
+ virtual void LocaleChanged();
+
#ifndef NDEBUG
// Returns true if the View is currently processing a paint.
virtual bool IsProcessingPaint() const;