OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_aur
a.h" |
| 6 |
| 7 #include "chrome/browser/ui/view_ids.h" |
| 8 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" |
| 9 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" |
| 10 #include "content/browser/renderer_host/render_widget_host_view_win.h" |
| 11 #include "content/browser/tab_contents/interstitial_page.h" |
| 12 #include "content/browser/tab_contents/tab_contents.h" |
| 13 #include "ui/base/accessibility/accessible_view_state.h" |
| 14 #include "views/views_delegate.h" |
| 15 #include "views/focus/focus_manager.h" |
| 16 |
| 17 //////////////////////////////////////////////////////////////////////////////// |
| 18 // NativeTabContentsContainerAura, public: |
| 19 |
| 20 NativeTabContentsContainerAura::NativeTabContentsContainerAura( |
| 21 TabContentsContainer* container) |
| 22 : container_(container) { |
| 23 set_id(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW); |
| 24 } |
| 25 |
| 26 NativeTabContentsContainerAura::~NativeTabContentsContainerAura() { |
| 27 } |
| 28 |
| 29 //////////////////////////////////////////////////////////////////////////////// |
| 30 // NativeTabContentsContainerAura, NativeTabContentsContainer overrides: |
| 31 |
| 32 void NativeTabContentsContainerAura::AttachContents(TabContents* contents) { |
| 33 } |
| 34 |
| 35 void NativeTabContentsContainerAura::DetachContents(TabContents* contents) { |
| 36 // TODO(beng): |
| 37 NOTIMPLEMENTED(); |
| 38 } |
| 39 |
| 40 void NativeTabContentsContainerAura::SetFastResize(bool fast_resize) { |
| 41 NOTIMPLEMENTED(); |
| 42 } |
| 43 |
| 44 void NativeTabContentsContainerAura::RenderViewHostChanged( |
| 45 RenderViewHost* old_host, |
| 46 RenderViewHost* new_host) { |
| 47 NOTIMPLEMENTED(); |
| 48 } |
| 49 |
| 50 views::View* NativeTabContentsContainerAura::GetView() { |
| 51 NOTIMPLEMENTED(); |
| 52 return this; |
| 53 } |
| 54 |
| 55 void NativeTabContentsContainerAura::TabContentsFocused( |
| 56 TabContents* tab_contents) { |
| 57 NOTIMPLEMENTED(); |
| 58 } |
| 59 |
| 60 //////////////////////////////////////////////////////////////////////////////// |
| 61 // NativeTabContentsContainerAura, views::View overrides: |
| 62 |
| 63 bool NativeTabContentsContainerAura::SkipDefaultKeyEventProcessing( |
| 64 const views::KeyEvent& e) { |
| 65 NOTIMPLEMENTED(); |
| 66 return false; |
| 67 } |
| 68 |
| 69 bool NativeTabContentsContainerAura::IsFocusable() const { |
| 70 NOTIMPLEMENTED(); |
| 71 return false; |
| 72 } |
| 73 |
| 74 void NativeTabContentsContainerAura::OnFocus() { |
| 75 NOTIMPLEMENTED(); |
| 76 } |
| 77 |
| 78 void NativeTabContentsContainerAura::RequestFocus() { |
| 79 NOTIMPLEMENTED(); |
| 80 } |
| 81 |
| 82 void NativeTabContentsContainerAura::AboutToRequestFocusFromTabTraversal( |
| 83 bool reverse) { |
| 84 NOTIMPLEMENTED(); |
| 85 } |
| 86 |
| 87 void NativeTabContentsContainerAura::GetAccessibleState( |
| 88 ui::AccessibleViewState* state) { |
| 89 NOTIMPLEMENTED(); |
| 90 } |
| 91 |
| 92 gfx::NativeViewAccessible |
| 93 NativeTabContentsContainerAura::GetNativeViewAccessible() { |
| 94 // TODO(beng): |
| 95 NOTIMPLEMENTED(); |
| 96 return View::GetNativeViewAccessible(); |
| 97 } |
| 98 |
| 99 //////////////////////////////////////////////////////////////////////////////// |
| 100 // NativeTabContentsContainer, public: |
| 101 |
| 102 // static |
| 103 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( |
| 104 TabContentsContainer* container) { |
| 105 return new NativeTabContentsContainerAura(container); |
| 106 } |
OLD | NEW |