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

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_views.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 30 matching lines...) Expand all
41 // not receive any messages. 41 // not receive any messages.
42 virtual void Unparent(); 42 virtual void Unparent();
43 43
44 NativeTabContentsView* native_tab_contents_view() const { 44 NativeTabContentsView* native_tab_contents_view() const {
45 return native_tab_contents_view_; 45 return native_tab_contents_view_;
46 } 46 }
47 47
48 // Overridden from WebContentsView: 48 // Overridden from WebContentsView:
49 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 49 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
50 virtual content::RenderWidgetHostView* CreateViewForWidget( 50 virtual content::RenderWidgetHostView* CreateViewForWidget(
51 RenderWidgetHost* render_widget_host) OVERRIDE; 51 content::RenderWidgetHost* render_widget_host) OVERRIDE;
52 virtual gfx::NativeView GetNativeView() const OVERRIDE; 52 virtual gfx::NativeView GetNativeView() const OVERRIDE;
53 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 53 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
54 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 54 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
55 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; 55 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE;
56 virtual void SetPageTitle(const string16& title) OVERRIDE; 56 virtual void SetPageTitle(const string16& title) OVERRIDE;
57 virtual void OnTabCrashed(base::TerminationStatus status, 57 virtual void OnTabCrashed(base::TerminationStatus status,
58 int error_code) OVERRIDE; 58 int error_code) OVERRIDE;
59 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 59 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
60 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 60 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE;
61 virtual void Focus() OVERRIDE; 61 virtual void Focus() OVERRIDE;
62 virtual void SetInitialFocus() OVERRIDE; 62 virtual void SetInitialFocus() OVERRIDE;
63 virtual void StoreFocus() OVERRIDE; 63 virtual void StoreFocus() OVERRIDE;
64 virtual void RestoreFocus() OVERRIDE; 64 virtual void RestoreFocus() OVERRIDE;
65 virtual bool IsDoingDrag() const OVERRIDE; 65 virtual bool IsDoingDrag() const OVERRIDE;
66 virtual void CancelDragAndCloseTab() OVERRIDE; 66 virtual void CancelDragAndCloseTab() OVERRIDE;
67 virtual bool IsEventTracking() const OVERRIDE; 67 virtual bool IsEventTracking() const OVERRIDE;
68 virtual void CloseTabAfterEventTracking() OVERRIDE; 68 virtual void CloseTabAfterEventTracking() OVERRIDE;
69 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 69 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
70 70
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 base::OneShotTimer<TabContentsViewViews> close_tab_timer_; 146 base::OneShotTimer<TabContentsViewViews> close_tab_timer_;
147 147
148 // The FocusManager associated with this tab. Stored as it is not directly 148 // The FocusManager associated with this tab. Stored as it is not directly
149 // accessible when un-parented. 149 // accessible when un-parented.
150 mutable const views::FocusManager* focus_manager_; 150 mutable const views::FocusManager* focus_manager_;
151 151
152 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); 152 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews);
153 }; 153 };
154 154
155 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ 155 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698