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

Unified Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.h

Issue 7841012: Get chrome to link with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.h
===================================================================
--- chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.h (revision 0)
+++ chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.h (revision 0)
@@ -0,0 +1,42 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_AURA_H_
+#define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_AURA_H_
+#pragma once
+
+#include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h"
+#include "views/controls/native/native_view_host.h"
+
+class NativeTabContentsContainerAura : public NativeTabContentsContainer,
+ public views::NativeViewHost {
+ public:
+ explicit NativeTabContentsContainerAura(TabContentsContainer* container);
+ virtual ~NativeTabContentsContainerAura();
+
+ // Overridden from NativeTabContentsContainer:
+ virtual void AttachContents(TabContents* contents) OVERRIDE;
+ virtual void DetachContents(TabContents* contents) OVERRIDE;
+ virtual void SetFastResize(bool fast_resize) OVERRIDE;
+ virtual void RenderViewHostChanged(RenderViewHost* old_host,
+ RenderViewHost* new_host) OVERRIDE;
+ virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE;
+ virtual views::View* GetView() OVERRIDE;
+
+ // Overridden from views::View:
+ virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e) OVERRIDE;
+ virtual bool IsFocusable() const OVERRIDE;
+ virtual void OnFocus() OVERRIDE;
+ virtual void RequestFocus() OVERRIDE;
+ virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE;
+ virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
+ virtual gfx::NativeViewAccessible GetNativeViewAccessible();
+
+ private:
+ TabContentsContainer* container_;
+
+ DISALLOW_COPY_AND_ASSIGN(NativeTabContentsContainerAura);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_AURA_H_
Property changes on: chrome\browser\ui\views\tab_contents\native_tab_contents_container_aura.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/ui/views/stubs_aura.cc ('k') | chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698