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

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

Issue 3743001: FBTF: Fix more ctor/dtors found by clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Rebase to pick up mac fix on ToT Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 12 matching lines...) Expand all
23 class RenderViewHostDelegate; 23 class RenderViewHostDelegate;
24 class RenderWidgetHost; 24 class RenderWidgetHost;
25 class RenderWidgetHostView; 25 class RenderWidgetHostView;
26 class SiteInstance; 26 class SiteInstance;
27 class TabContents; 27 class TabContents;
28 28
29 // Provides helper methods that provide common implementations of some 29 // Provides helper methods that provide common implementations of some
30 // RenderViewHostDelegate::View methods. 30 // RenderViewHostDelegate::View methods.
31 class RenderViewHostDelegateViewHelper { 31 class RenderViewHostDelegateViewHelper {
32 public: 32 public:
33 RenderViewHostDelegateViewHelper() {} 33 RenderViewHostDelegateViewHelper();
34 virtual ~RenderViewHostDelegateViewHelper() {} 34 virtual ~RenderViewHostDelegateViewHelper();
35 35
36 // Creates a new renderer for window.open. This will either be a 36 // Creates a new renderer for window.open. This will either be a
37 // BackgroundContents (if the window_container_type == 37 // BackgroundContents (if the window_container_type ==
38 // WINDOW_CONTAINER_TYPE_BACKGROUND and permissions allow) or a TabContents. 38 // WINDOW_CONTAINER_TYPE_BACKGROUND and permissions allow) or a TabContents.
39 // If a TabContents is created, it is returned. Otherwise NULL is returned. 39 // If a TabContents is created, it is returned. Otherwise NULL is returned.
40 virtual TabContents* CreateNewWindow( 40 virtual TabContents* CreateNewWindow(
41 int route_id, 41 int route_id,
42 Profile* profile, 42 Profile* profile,
43 SiteInstance* site, 43 SiteInstance* site,
44 DOMUITypeID domui_type, 44 DOMUITypeID domui_type,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const std::string& value); 104 const std::string& value);
105 static void ClearInspectorSettings(Profile* profile); 105 static void ClearInspectorSettings(Profile* profile);
106 106
107 private: 107 private:
108 RenderViewHostDelegateHelper(); 108 RenderViewHostDelegateHelper();
109 109
110 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); 110 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper);
111 }; 111 };
112 112
113 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 113 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/shell_dialogs.cc ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698