| Index: views/widget/widget.h
|
| ===================================================================
|
| --- views/widget/widget.h (revision 18879)
|
| +++ views/widget/widget.h (working copy)
|
| @@ -17,6 +17,7 @@
|
| namespace views {
|
|
|
| class Accelerator;
|
| +class FocusManager;
|
| class RootView;
|
| class TooltipManager;
|
| class Window;
|
| @@ -105,13 +106,17 @@
|
| virtual Window* GetWindow() { return NULL; }
|
| virtual const Window* GetWindow() const { return NULL; }
|
|
|
| - // Get the theme provider.
|
| + // Gets the theme provider.
|
| virtual ThemeProvider* GetThemeProvider() const { return NULL; }
|
|
|
| - // Get the default theme provider; this is necessary for when a widget has
|
| + // Gets the default theme provider; this is necessary for when a widget has
|
| // no profile (and ThemeProvider) associated with it. The default theme
|
| // provider provides a default set of bitmaps that such widgets can use.
|
| virtual ThemeProvider* GetDefaultThemeProvider() { return NULL; }
|
| +
|
| + // Returns the FocusManager for this widget.
|
| + // Note that all widgets in a widget hierarchy share the same focus manager.
|
| + virtual FocusManager* GetFocusManager() { return NULL; }
|
| };
|
|
|
| } // namespace views
|
|
|