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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.h

Issue 8964001: views: Convert IsFocusable() to just focusable() since it's just a simple accessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_GTK_H _ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_GTK_H _
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_GTK_H _ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_GTK_H _
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 13 matching lines...) Expand all
24 virtual bool GetFastResize() const OVERRIDE; 24 virtual bool GetFastResize() const OVERRIDE;
25 virtual bool FastResizeAtLastLayout() const OVERRIDE; 25 virtual bool FastResizeAtLastLayout() const OVERRIDE;
26 virtual void RenderViewHostChanged(RenderViewHost* old_host, 26 virtual void RenderViewHostChanged(RenderViewHost* old_host,
27 RenderViewHost* new_host) OVERRIDE; 27 RenderViewHost* new_host) OVERRIDE;
28 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE; 28 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE;
29 virtual views::View* GetView() OVERRIDE; 29 virtual views::View* GetView() OVERRIDE;
30 30
31 // Overridden from views::View: 31 // Overridden from views::View:
32 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e) OVERRIDE; 32 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e) OVERRIDE;
33 virtual views::FocusTraversable* GetFocusTraversable() OVERRIDE; 33 virtual views::FocusTraversable* GetFocusTraversable() OVERRIDE;
34 virtual bool IsFocusable() const OVERRIDE;
35 virtual void OnFocus() OVERRIDE; 34 virtual void OnFocus() OVERRIDE;
36 virtual void RequestFocus() OVERRIDE; 35 virtual void RequestFocus() OVERRIDE;
37 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; 36 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE;
38 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 37 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
39 38
40 private: 39 private:
41 TabContentsContainer* container_; 40 TabContentsContainer* container_;
42 41
43 gulong focus_callback_id_; 42 gulong focus_callback_id_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsContainerGtk); 44 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsContainerGtk);
46 }; 45 };
47 46
48 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_GT K_H_ 47 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_GT K_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698