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 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h" | 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h" |
6 | 6 |
7 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate
.h" | 7 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate
.h" |
8 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h" | 8 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h" |
9 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 9 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
10 #include "content/browser/tab_contents/tab_contents.h" | 10 #include "content/browser/tab_contents/tab_contents.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 return view; | 71 return view; |
72 } | 72 } |
73 | 73 |
74 gfx::NativeWindow NativeTabContentsViewAura::GetTopLevelNativeWindow() const { | 74 gfx::NativeWindow NativeTabContentsViewAura::GetTopLevelNativeWindow() const { |
75 // TODO(beng): | 75 // TODO(beng): |
76 NOTIMPLEMENTED(); | 76 NOTIMPLEMENTED(); |
77 return NULL; | 77 return NULL; |
78 } | 78 } |
79 | 79 |
80 void NativeTabContentsViewAura::SetPageTitle(const string16& title) { | 80 void NativeTabContentsViewAura::SetPageTitle(const string16& title) { |
81 // TODO(beng): | 81 GetNativeView()->set_title(title); |
82 NOTIMPLEMENTED(); | |
83 } | 82 } |
84 | 83 |
85 void NativeTabContentsViewAura::StartDragging(const WebDropData& drop_data, | 84 void NativeTabContentsViewAura::StartDragging(const WebDropData& drop_data, |
86 WebKit::WebDragOperationsMask ops, | 85 WebKit::WebDragOperationsMask ops, |
87 const SkBitmap& image, | 86 const SkBitmap& image, |
88 const gfx::Point& image_offset) { | 87 const gfx::Point& image_offset) { |
89 // TODO(beng): | 88 // TODO(beng): |
90 NOTIMPLEMENTED(); | 89 NOTIMPLEMENTED(); |
91 } | 90 } |
92 | 91 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 } | 138 } |
140 | 139 |
141 //////////////////////////////////////////////////////////////////////////////// | 140 //////////////////////////////////////////////////////////////////////////////// |
142 // NativeTabContentsView, public: | 141 // NativeTabContentsView, public: |
143 | 142 |
144 // static | 143 // static |
145 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( | 144 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( |
146 internal::NativeTabContentsViewDelegate* delegate) { | 145 internal::NativeTabContentsViewDelegate* delegate) { |
147 return new NativeTabContentsViewAura(delegate); | 146 return new NativeTabContentsViewAura(delegate); |
148 } | 147 } |
OLD | NEW |