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

Side by Side Diff: content/browser/tab_contents/web_contents_view_android.h

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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_WEB_CONTENTS_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/browser/web_contents_view.h" 9 #include "content/public/browser/web_contents_view.h"
10 10
11 class WebContentsViewAndroid : public content::WebContentsView { 11 class WebContentsViewAndroid : public content::WebContentsView {
12 public: 12 public:
13 explicit WebContentsViewAndroid(content::WebContents* web_contents); 13 explicit WebContentsViewAndroid(content::WebContents* web_contents);
14 virtual ~WebContentsViewAndroid(); 14 virtual ~WebContentsViewAndroid();
15 15
16 // WebContentsView implementation -------------------------------------------- 16 // WebContentsView implementation --------------------------------------------
17 17
18 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 18 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
19 virtual RenderWidgetHostView* CreateViewForWidget( 19 virtual content::RenderWidgetHostView* CreateViewForWidget(
20 RenderWidgetHost* render_widget_host) OVERRIDE; 20 RenderWidgetHost* render_widget_host) OVERRIDE;
21 21
22 virtual gfx::NativeView GetNativeView() const OVERRIDE; 22 virtual gfx::NativeView GetNativeView() const OVERRIDE;
23 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 23 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
24 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 24 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
25 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; 25 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE;
26 virtual void SetPageTitle(const string16& title) OVERRIDE; 26 virtual void SetPageTitle(const string16& title) OVERRIDE;
27 virtual void OnTabCrashed(base::TerminationStatus status, 27 virtual void OnTabCrashed(base::TerminationStatus status,
28 int error_code) OVERRIDE; 28 int error_code) OVERRIDE;
29 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 29 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void TakeFocus(bool reverse) OVERRIDE; 71 virtual void TakeFocus(bool reverse) OVERRIDE;
72 72
73 private: 73 private:
74 // The WebContents whose contents we display. 74 // The WebContents whose contents we display.
75 content::WebContents* web_contents_; 75 content::WebContents* web_contents_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); 77 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid);
78 }; 78 };
79 79
80 #endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ 80 #endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_view_win.cc ('k') | content/browser/tab_contents/web_contents_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698