| OLD | NEW |
| 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_WIN_H
_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_WIN_H
_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_WIN_H
_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_WIN_H
_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h" | 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h" |
| 10 #include "ui/views/controls/native/native_view_host.h" | 10 #include "ui/views/controls/native/native_view_host.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 virtual void SetFastResize(bool fast_resize) OVERRIDE; | 21 virtual void SetFastResize(bool fast_resize) OVERRIDE; |
| 22 virtual bool GetFastResize() const OVERRIDE; | 22 virtual bool GetFastResize() const OVERRIDE; |
| 23 virtual bool FastResizeAtLastLayout() const OVERRIDE; | 23 virtual bool FastResizeAtLastLayout() const OVERRIDE; |
| 24 virtual void RenderViewHostChanged(RenderViewHost* old_host, | 24 virtual void RenderViewHostChanged(RenderViewHost* old_host, |
| 25 RenderViewHost* new_host) OVERRIDE; | 25 RenderViewHost* new_host) OVERRIDE; |
| 26 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE; | 26 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE; |
| 27 virtual views::View* GetView() OVERRIDE; | 27 virtual views::View* GetView() OVERRIDE; |
| 28 | 28 |
| 29 // Overridden from views::View: | 29 // Overridden from views::View: |
| 30 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e) OVERRIDE; | 30 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e) OVERRIDE; |
| 31 virtual bool IsFocusable() const OVERRIDE; | 31 virtual bool IsFocusableInRootView() const OVERRIDE; |
| 32 virtual void OnFocus() OVERRIDE; | 32 virtual void OnFocus() OVERRIDE; |
| 33 virtual void RequestFocus() OVERRIDE; | 33 virtual void RequestFocus() OVERRIDE; |
| 34 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; | 34 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; |
| 35 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 35 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 36 virtual gfx::NativeViewAccessible GetNativeViewAccessible(); | 36 virtual gfx::NativeViewAccessible GetNativeViewAccessible(); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 TabContentsContainer* container_; | 39 TabContentsContainer* container_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsContainerWin); | 41 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsContainerWin); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_WI
N_H_ | 44 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_WI
N_H_ |
| OLD | NEW |