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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_AURA_ H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_AURA_ H_
7 #pragma once
8
9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h"
10 #include "views/controls/native/native_view_host.h"
11
12 class NativeTabContentsContainerAura : public NativeTabContentsContainer,
13 public views::NativeViewHost {
14 public:
15 explicit NativeTabContentsContainerAura(TabContentsContainer* container);
16 virtual ~NativeTabContentsContainerAura();
17
18 // Overridden from NativeTabContentsContainer:
19 virtual void AttachContents(TabContents* contents) OVERRIDE;
20 virtual void DetachContents(TabContents* contents) OVERRIDE;
21 virtual void SetFastResize(bool fast_resize) OVERRIDE;
22 virtual void RenderViewHostChanged(RenderViewHost* old_host,
23 RenderViewHost* new_host) OVERRIDE;
24 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE;
25 virtual views::View* GetView() OVERRIDE;
26
27 // Overridden from views::View:
28 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e) OVERRIDE;
29 virtual bool IsFocusable() const OVERRIDE;
30 virtual void OnFocus() OVERRIDE;
31 virtual void RequestFocus() OVERRIDE;
32 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE;
33 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
34 virtual gfx::NativeViewAccessible GetNativeViewAccessible();
35
36 private:
37 TabContentsContainer* container_;
38
39 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsContainerAura);
40 };
41
42 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_CONTAINER_AU RA_H_
OLDNEW
« 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