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

Side by Side Diff: chrome/browser/views/tab_contents/native_tab_contents_container_gtk.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
« no previous file with comments | « no previous file | chrome/browser/views/tab_contents/native_tab_contents_container_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_gtk.h" 5 #include "chrome/browser/views/tab_contents/native_tab_contents_container_gtk.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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // TODO(port): figure out a11y 170 // TODO(port): figure out a11y
171 #if defined(OS_WIN) 171 #if defined(OS_WIN)
172 DCHECK(role); 172 DCHECK(role);
173 173
174 *role = AccessibilityTypes::ROLE_GROUPING; 174 *role = AccessibilityTypes::ROLE_GROUPING;
175 #endif 175 #endif
176 return true; 176 return true;
177 } 177 }
178 178
179 //////////////////////////////////////////////////////////////////////////////// 179 ////////////////////////////////////////////////////////////////////////////////
180 // NativeTabContentsContainerGtk, views::FocusTraversable overrides:
181
182 views::FocusTraversable*
183 NativeTabContentsContainerGtk::GetFocusTraversableParent() {
184 return GetRootView();
185 }
186
187 views::View* NativeTabContentsContainerGtk::GetFocusTraversableParentView() {
188 return this;
189 }
190
191 ////////////////////////////////////////////////////////////////////////////////
192 // NativeTabContentsContainer, public: 180 // NativeTabContentsContainer, public:
193 181
194 // static 182 // static
195 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( 183 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer(
196 TabContentsContainer* container) { 184 TabContentsContainer* container) {
197 return new NativeTabContentsContainerGtk(container); 185 return new NativeTabContentsContainerGtk(container);
198 } 186 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/tab_contents/native_tab_contents_container_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698