OLD | NEW |
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 #include "temp_scaffolding_stubs.h" | 5 #include "temp_scaffolding_stubs.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 275 |
276 // static | 276 // static |
277 DownloadShelf* DownloadShelf::Create(TabContents* tab_contents) { | 277 DownloadShelf* DownloadShelf::Create(TabContents* tab_contents) { |
278 return new DownloadShelfMac(tab_contents); | 278 return new DownloadShelfMac(tab_contents); |
279 } | 279 } |
280 | 280 |
281 #endif | 281 #endif |
282 | 282 |
283 //-------------------------------------------------------------------------- | 283 //-------------------------------------------------------------------------- |
284 | 284 |
285 void RunJavascriptMessageBox(WebContents* web_contents, | |
286 const GURL& url, | |
287 int dialog_flags, | |
288 const std::wstring& message_text, | |
289 const std::wstring& default_prompt_text, | |
290 bool display_suppress_checkbox, | |
291 IPC::Message* reply_msg) { | |
292 NOTIMPLEMENTED(); | |
293 } | |
294 | |
295 void RunBeforeUnloadDialog(WebContents* web_contents, | |
296 const GURL& url, | |
297 const std::wstring& message_text, | |
298 IPC::Message* reply_msg) { | |
299 NOTIMPLEMENTED(); | |
300 } | |
301 | |
302 //-------------------------------------------------------------------------- | |
303 | |
304 void RunRepostFormWarningDialog(NavigationController*) { | 285 void RunRepostFormWarningDialog(NavigationController*) { |
305 } | 286 } |
306 | 287 |
307 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, | 288 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, |
308 URLRequest* request, | 289 URLRequest* request, |
309 MessageLoop* ui_loop) { | 290 MessageLoop* ui_loop) { |
310 NOTIMPLEMENTED(); | 291 NOTIMPLEMENTED(); |
311 return NULL; | 292 return NULL; |
312 } | 293 } |
313 | 294 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 gfx::Rect* window_bounds, | 358 gfx::Rect* window_bounds, |
378 bool* maximized) { | 359 bool* maximized) { |
379 // If we're given a bounds, use it (for things like tearing off tabs during | 360 // If we're given a bounds, use it (for things like tearing off tabs during |
380 // drags). If not, make up something reasonable until the rest of the | 361 // drags). If not, make up something reasonable until the rest of the |
381 // WindowSizer infrastructure is in place. | 362 // WindowSizer infrastructure is in place. |
382 *window_bounds = specified_bounds; | 363 *window_bounds = specified_bounds; |
383 if (specified_bounds.IsEmpty()) { | 364 if (specified_bounds.IsEmpty()) { |
384 *window_bounds = gfx::Rect(0, 0, 1024, 768); | 365 *window_bounds = gfx::Rect(0, 0, 1024, 768); |
385 } | 366 } |
386 } | 367 } |
OLD | NEW |