| Index: ui/views/controls/tabbed_pane/tabbed_pane.h
|
| diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.h b/ui/views/controls/tabbed_pane/tabbed_pane.h
|
| index 44c48bb232a246a38443d833f5e71a8d3d740528..af41d969f9291220be61cd500bbd4ca45e0148d3 100644
|
| --- a/ui/views/controls/tabbed_pane/tabbed_pane.h
|
| +++ b/ui/views/controls/tabbed_pane/tabbed_pane.h
|
| @@ -30,7 +30,9 @@ class VIEWS_EXPORT TabbedPane : public View {
|
| TabbedPaneListener* listener() const { return listener_; }
|
| void set_listener(TabbedPaneListener* listener) { listener_ = listener; }
|
|
|
| - int selected_tab_index() const { return selected_tab_index_; }
|
| + // Returns the index of the currently selected tab, or -1 if no tab is
|
| + // selected.
|
| + int GetSelectedTabIndex() const;
|
|
|
| // Returns the number of tabs.
|
| int GetTabCount();
|
| @@ -118,7 +120,6 @@ class Tab : public View {
|
| void OnMouseExited(const ui::MouseEvent& event) override;
|
| void OnGestureEvent(ui::GestureEvent* event) override;
|
| gfx::Size GetPreferredSize() const override;
|
| - void Layout() override;
|
| const char* GetClassName() const override;
|
| void OnFocus() override;
|
| void OnBlur() override;
|
| @@ -130,9 +131,6 @@ class Tab : public View {
|
| // Called whenever |tab_state_| changes.
|
| virtual void OnStateChanged();
|
|
|
| - // Returns whether the containing TabStrip has focus.
|
| - bool ContainerHasFocus();
|
| -
|
| private:
|
| enum TabState {
|
| TAB_INACTIVE,
|
|
|