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

Side by Side Diff: content/test/test_web_contents_view.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: Ready for review, take 2 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_TEST_TEST_WEB_CONTENTS_VIEW_H_ 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/browser/web_contents_view.h" 10 #include "content/public/browser/web_contents_view.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual RenderWidgetHostView* CreateViewForWidget( 51 virtual RenderWidgetHostView* CreateViewForWidget(
52 RenderWidgetHost* render_widget_host) OVERRIDE; 52 RenderWidgetHost* render_widget_host) OVERRIDE;
53 virtual gfx::NativeView GetNativeView() const OVERRIDE; 53 virtual gfx::NativeView GetNativeView() const OVERRIDE;
54 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 54 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
55 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 55 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
56 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; 56 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE;
57 virtual void SetPageTitle(const string16& title) OVERRIDE; 57 virtual void SetPageTitle(const string16& title) OVERRIDE;
58 virtual void OnTabCrashed(base::TerminationStatus status, 58 virtual void OnTabCrashed(base::TerminationStatus status,
59 int error_code) OVERRIDE; 59 int error_code) OVERRIDE;
60 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 60 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
61 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 61 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE;
jam 2012/03/05 23:59:28 content:: not needed
Jói 2012/03/06 16:38:55 Done.
62 virtual void Focus() OVERRIDE; 62 virtual void Focus() OVERRIDE;
63 virtual void SetInitialFocus() OVERRIDE; 63 virtual void SetInitialFocus() OVERRIDE;
64 virtual void StoreFocus() OVERRIDE; 64 virtual void StoreFocus() OVERRIDE;
65 virtual void RestoreFocus() OVERRIDE; 65 virtual void RestoreFocus() OVERRIDE;
66 virtual bool IsDoingDrag() const OVERRIDE; 66 virtual bool IsDoingDrag() const OVERRIDE;
67 virtual void CancelDragAndCloseTab() OVERRIDE; 67 virtual void CancelDragAndCloseTab() OVERRIDE;
68 virtual bool IsEventTracking() const OVERRIDE; 68 virtual bool IsEventTracking() const OVERRIDE;
69 virtual void CloseTabAfterEventTracking() OVERRIDE; 69 virtual void CloseTabAfterEventTracking() OVERRIDE;
70 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; 70 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE;
71 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; 71 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE;
72 virtual void RemoveOverlayView() OVERRIDE; 72 virtual void RemoveOverlayView() OVERRIDE;
73 73
74 private: 74 private:
75 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); 75 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView);
76 }; 76 };
77 77
78 } // namespace content 78 } // namespace content
79 79
80 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ 80 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698