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

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

Issue 2775003: Added plumbing to transport the frame name between RenderViewHost and the Webkit layer. (Closed)
Patch Set: Final version for the record Created 10 years, 6 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 26 matching lines...) Expand all
37 // Creates a new renderer for window.open. This will either be a 37 // Creates a new renderer for window.open. This will either be a
38 // BackgroundContents (if the window_container_type == 38 // BackgroundContents (if the window_container_type ==
39 // WINDOW_CONTAINER_TYPE_BACKGROUND and permissions allow) or a TabContents. 39 // WINDOW_CONTAINER_TYPE_BACKGROUND and permissions allow) or a TabContents.
40 // If a TabContents is created, it is returned. Otherwise NULL is returned. 40 // If a TabContents is created, it is returned. Otherwise NULL is returned.
41 virtual TabContents* CreateNewWindow( 41 virtual TabContents* CreateNewWindow(
42 int route_id, 42 int route_id,
43 Profile* profile, 43 Profile* profile,
44 SiteInstance* site, 44 SiteInstance* site,
45 DOMUITypeID domui_type, 45 DOMUITypeID domui_type,
46 RenderViewHostDelegate* opener, 46 RenderViewHostDelegate* opener,
47 WindowContainerType window_container_type); 47 WindowContainerType window_container_type,
48 const string16& frame_name);
48 49
49 // Creates a new RenderWidgetHost and saves it for later retrieval by 50 // Creates a new RenderWidgetHost and saves it for later retrieval by
50 // GetCreatedWidget. 51 // GetCreatedWidget.
51 virtual RenderWidgetHostView* CreateNewWidget(int route_id, 52 virtual RenderWidgetHostView* CreateNewWidget(int route_id,
52 WebKit::WebPopupType popup_type, 53 WebKit::WebPopupType popup_type,
53 RenderProcessHost* process); 54 RenderProcessHost* process);
54 55
55 // Finds the new RenderWidgetHost and returns it. Note that this can only be 56 // Finds the new RenderWidgetHost and returns it. Note that this can only be
56 // called once as this call also removes it from the internal map. 57 // called once as this call also removes it from the internal map.
57 virtual RenderWidgetHostView* GetCreatedWidget(int route_id); 58 virtual RenderWidgetHostView* GetCreatedWidget(int route_id);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 public: 93 public:
93 static WebPreferences GetWebkitPrefs(Profile* profile, bool is_dom_ui); 94 static WebPreferences GetWebkitPrefs(Profile* profile, bool is_dom_ui);
94 95
95 private: 96 private:
96 RenderViewHostDelegateHelper(); 97 RenderViewHostDelegateHelper();
97 98
98 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); 99 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper);
99 }; 100 };
100 101
101 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 102 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/interstitial_page.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