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

Side by Side Diff: chrome/browser/tab_contents/background_contents.cc

Issue 3055009: Use RenderWidget(Host) for full screen (Closed)
Patch Set: Add IPC::SyncMessage dependency. Fix auto complete. Created 10 years, 4 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 #include "chrome/browser/tab_contents/background_contents.h" 5 #include "chrome/browser/tab_contents/background_contents.h"
6 6
7 #include "chrome/browser/background_contents_service.h" 7 #include "chrome/browser/background_contents_service.h"
8 #include "chrome/browser/browsing_instance.h" 8 #include "chrome/browser/browsing_instance.h"
9 #include "chrome/browser/in_process_webkit/dom_storage_context.h" 9 #include "chrome/browser/in_process_webkit/dom_storage_context.h"
10 #include "chrome/browser/in_process_webkit/webkit_context.h" 10 #include "chrome/browser/in_process_webkit/webkit_context.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 this, 175 this,
176 window_container_type, 176 window_container_type,
177 frame_name); 177 frame_name);
178 } 178 }
179 179
180 void BackgroundContents::CreateNewWidget(int route_id, 180 void BackgroundContents::CreateNewWidget(int route_id,
181 WebKit::WebPopupType popup_type) { 181 WebKit::WebPopupType popup_type) {
182 NOTREACHED(); 182 NOTREACHED();
183 } 183 }
184 184
185 void BackgroundContents::CreateNewFullscreenWidget(
186 int route_id, WebKit::WebPopupType popup_type) {
187 NOTREACHED();
188 }
189
185 void BackgroundContents::ShowCreatedWindow(int route_id, 190 void BackgroundContents::ShowCreatedWindow(int route_id,
186 WindowOpenDisposition disposition, 191 WindowOpenDisposition disposition,
187 const gfx::Rect& initial_pos, 192 const gfx::Rect& initial_pos,
188 bool user_gesture) { 193 bool user_gesture) {
189 TabContents* contents = delegate_view_helper_.GetCreatedWindow(route_id); 194 TabContents* contents = delegate_view_helper_.GetCreatedWindow(route_id);
190 if (contents) 195 if (contents)
191 delegate_->AddTabContents(contents, disposition, initial_pos, user_gesture); 196 delegate_->AddTabContents(contents, disposition, initial_pos, user_gesture);
192 } 197 }
193 198
194 void BackgroundContents::ShowCreatedWidget(int route_id, 199 void BackgroundContents::ShowCreatedWidget(int route_id,
195 const gfx::Rect& initial_pos) { 200 const gfx::Rect& initial_pos) {
196 NOTIMPLEMENTED(); 201 NOTIMPLEMENTED();
197 } 202 }
198 203
204 void BackgroundContents::ShowCreatedFullscreenWidget(int route_id) {
205 NOTIMPLEMENTED();
206 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/background_contents.h ('k') | chrome/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698