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

Side by Side Diff: chrome/browser/tab_contents/background_contents.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) 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_BACKGROUND_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/jsmessage_box_client.h" 10 #include "chrome/browser/jsmessage_box_client.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const GURL& frame_url, 60 const GURL& frame_url,
61 const int flags, 61 const int flags,
62 IPC::Message* reply_msg, 62 IPC::Message* reply_msg,
63 bool* did_suppress_message); 63 bool* did_suppress_message);
64 virtual void Close(RenderViewHost* render_view_host); 64 virtual void Close(RenderViewHost* render_view_host);
65 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; 65 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
66 66
67 // RenderViewHostDelegate::View 67 // RenderViewHostDelegate::View
68 virtual void CreateNewWindow( 68 virtual void CreateNewWindow(
69 int route_id, 69 int route_id,
70 WindowContainerType window_container_type); 70 WindowContainerType window_container_type,
71 const string16& frame_name);
71 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); 72 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
72 virtual void ShowCreatedWindow(int route_id, 73 virtual void ShowCreatedWindow(int route_id,
73 WindowOpenDisposition disposition, 74 WindowOpenDisposition disposition,
74 const gfx::Rect& initial_pos, 75 const gfx::Rect& initial_pos,
75 bool user_gesture); 76 bool user_gesture);
76 virtual void ShowCreatedWidget(int route_id, 77 virtual void ShowCreatedWidget(int route_id,
77 const gfx::Rect& initial_pos); 78 const gfx::Rect& initial_pos);
78 virtual void ShowContextMenu(const ContextMenuParams& params) {} 79 virtual void ShowContextMenu(const ContextMenuParams& params) {}
79 virtual void StartDragging(const WebDropData& drop_data, 80 virtual void StartDragging(const WebDropData& drop_data,
80 WebKit::WebDragOperationsMask allowed_operations, 81 WebKit::WebDragOperationsMask allowed_operations,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 118
118 // The URL being hosted. 119 // The URL being hosted.
119 GURL url_; 120 GURL url_;
120 121
121 NotificationRegistrar registrar_; 122 NotificationRegistrar registrar_;
122 123
123 DISALLOW_COPY_AND_ASSIGN(BackgroundContents); 124 DISALLOW_COPY_AND_ASSIGN(BackgroundContents);
124 }; 125 };
125 126
126 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 127 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/test/test_render_view_host.cc ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698