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

Side by Side Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.h

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 10 matching lines...) Expand all
21 class RenderWidgetHost; 21 class RenderWidgetHost;
22 class RenderWidgetHostView; 22 class RenderWidgetHostView;
23 class SiteInstance; 23 class SiteInstance;
24 class TabContents; 24 class TabContents;
25 25
26 // Provides helper methods that provide common implementations of some 26 // Provides helper methods that provide common implementations of some
27 // RenderViewHostDelegate::View methods. 27 // RenderViewHostDelegate::View methods.
28 class RenderViewHostDelegateViewHelper { 28 class RenderViewHostDelegateViewHelper {
29 public: 29 public:
30 RenderViewHostDelegateViewHelper() {} 30 RenderViewHostDelegateViewHelper() {}
31 virtual ~RenderViewHostDelegateViewHelper() {}
32 31
33 virtual void CreateNewWindow(int route_id, 32 virtual void CreateNewWindow(int route_id,
34 base::WaitableEvent* modal_dialog_event, 33 base::WaitableEvent* modal_dialog_event,
35 Profile* profile, SiteInstance* site); 34 Profile* profile, SiteInstance* site);
36 virtual RenderWidgetHostView* CreateNewWidget(int route_id, bool activatable, 35 virtual RenderWidgetHostView* CreateNewWidget(int route_id, bool activatable,
37 RenderProcessHost* process); 36 RenderProcessHost* process);
38 virtual TabContents* GetCreatedWindow(int route_id); 37 virtual TabContents* GetCreatedWindow(int route_id);
39 virtual RenderWidgetHostView* GetCreatedWidget(int route_id); 38 virtual RenderWidgetHostView* GetCreatedWidget(int route_id);
40 void RenderWidgetHostDestroyed(RenderWidgetHost* host); 39 void RenderWidgetHostDestroyed(RenderWidgetHost* host);
41 40
(...skipping 18 matching lines...) Expand all
60 public: 59 public:
61 static WebPreferences GetWebkitPrefs(PrefService* prefs, bool is_dom_ui); 60 static WebPreferences GetWebkitPrefs(PrefService* prefs, bool is_dom_ui);
62 61
63 private: 62 private:
64 RenderViewHostDelegateHelper(); 63 RenderViewHostDelegateHelper();
65 64
66 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); 65 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper);
67 }; 66 };
68 67
69 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 68 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/page_navigator.h ('k') | chrome/browser/tab_contents/render_view_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698