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

Side by Side Diff: chrome/browser/views/tab_contents/native_tab_contents_container_win.cc

Issue 115903: Gets NativeTabContentsContainerGtk to compile and removes some... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 months 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/views/tab_contents/native_tab_contents_container_win.h" 5 #include "chrome/browser/views/tab_contents/native_tab_contents_container_win.h"
6 6
7 #include "chrome/browser/renderer_host/render_widget_host_view.h" 7 #include "chrome/browser/renderer_host/render_widget_host_view.h"
8 #include "chrome/browser/tab_contents/interstitial_page.h" 8 #include "chrome/browser/tab_contents/interstitial_page.h"
9 #include "chrome/browser/tab_contents/tab_contents.h" 9 #include "chrome/browser/tab_contents/tab_contents.h"
10 #include "chrome/browser/views/tab_contents/tab_contents_container.h" 10 #include "chrome/browser/views/tab_contents/tab_contents_container.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 bool NativeTabContentsContainerWin::GetAccessibleRole( 155 bool NativeTabContentsContainerWin::GetAccessibleRole(
156 AccessibilityTypes::Role* role) { 156 AccessibilityTypes::Role* role) {
157 DCHECK(role); 157 DCHECK(role);
158 158
159 *role = AccessibilityTypes::ROLE_GROUPING; 159 *role = AccessibilityTypes::ROLE_GROUPING;
160 return true; 160 return true;
161 } 161 }
162 162
163 //////////////////////////////////////////////////////////////////////////////// 163 ////////////////////////////////////////////////////////////////////////////////
164 // NativeTabContentsContainerWin, views::FocusTraversable overrides:
165
166 views::FocusTraversable*
167 NativeTabContentsContainerWin::GetFocusTraversableParent() {
168 return GetRootView();
169 }
170
171 views::View* NativeTabContentsContainerWin::GetFocusTraversableParentView() {
172 return this;
173 }
174
175 ////////////////////////////////////////////////////////////////////////////////
176 // NativeTabContentsContainer, public: 164 // NativeTabContentsContainer, public:
177 165
178 // static 166 // static
179 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( 167 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer(
180 TabContentsContainer* container) { 168 TabContentsContainer* container) {
181 return new NativeTabContentsContainerWin(container); 169 return new NativeTabContentsContainerWin(container);
182 } 170 }
OLDNEW
« no previous file with comments | « chrome/browser/views/tab_contents/native_tab_contents_container_win.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698