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

Side by Side Diff: content/browser/tab_contents/tab_contents_view_win.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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/tab_contents/tab_contents_view_helper.h" 9 #include "content/browser/tab_contents/tab_contents_view_helper.h"
10 #include "content/public/browser/web_contents_view.h" 10 #include "content/public/browser/web_contents_view.h"
(...skipping 11 matching lines...) Expand all
22 22
23 void SetParent(HWND parent); 23 void SetParent(HWND parent);
24 24
25 BEGIN_MSG_MAP_EX(TabContentsViewWin) 25 BEGIN_MSG_MAP_EX(TabContentsViewWin)
26 MESSAGE_HANDLER(WM_WINDOWPOSCHANGED, OnWindowPosChanged) 26 MESSAGE_HANDLER(WM_WINDOWPOSCHANGED, OnWindowPosChanged)
27 END_MSG_MAP() 27 END_MSG_MAP()
28 28
29 // Overridden from WebContentsView: 29 // Overridden from WebContentsView:
30 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 30 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
31 virtual content::RenderWidgetHostView* CreateViewForWidget( 31 virtual content::RenderWidgetHostView* CreateViewForWidget(
32 RenderWidgetHost* render_widget_host) OVERRIDE; 32 content::RenderWidgetHost* render_widget_host) OVERRIDE;
33 virtual gfx::NativeView GetNativeView() const OVERRIDE; 33 virtual gfx::NativeView GetNativeView() const OVERRIDE;
34 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 34 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
35 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 35 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
36 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; 36 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE;
37 virtual void SetPageTitle(const string16& title) OVERRIDE; 37 virtual void SetPageTitle(const string16& title) OVERRIDE;
38 virtual void OnTabCrashed(base::TerminationStatus status, 38 virtual void OnTabCrashed(base::TerminationStatus status,
39 int error_code) OVERRIDE; 39 int error_code) OVERRIDE;
40 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 40 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
41 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 41 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE;
42 virtual void Focus() OVERRIDE; 42 virtual void Focus() OVERRIDE;
43 virtual void SetInitialFocus() OVERRIDE; 43 virtual void SetInitialFocus() OVERRIDE;
44 virtual void StoreFocus() OVERRIDE; 44 virtual void StoreFocus() OVERRIDE;
45 virtual void RestoreFocus() OVERRIDE; 45 virtual void RestoreFocus() OVERRIDE;
46 virtual bool IsDoingDrag() const OVERRIDE; 46 virtual bool IsDoingDrag() const OVERRIDE;
47 virtual void CancelDragAndCloseTab() OVERRIDE; 47 virtual void CancelDragAndCloseTab() OVERRIDE;
48 virtual bool IsEventTracking() const OVERRIDE; 48 virtual bool IsEventTracking() const OVERRIDE;
49 virtual void CloseTabAfterEventTracking() OVERRIDE; 49 virtual void CloseTabAfterEventTracking() OVERRIDE;
50 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 50 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
51 51
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 RenderWidgetHostViewWin* view_; 95 RenderWidgetHostViewWin* view_;
96 96
97 // Common implementations of some WebContentsView methods. 97 // Common implementations of some WebContentsView methods.
98 TabContentsViewHelper tab_contents_view_helper_; 98 TabContentsViewHelper tab_contents_view_helper_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin); 100 DISALLOW_COPY_AND_ASSIGN(TabContentsViewWin);
101 }; 101 };
102 102
103 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_ 103 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_view_helper.cc ('k') | content/browser/tab_contents/tab_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698