| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <ApplicationServices/ApplicationServices.h> | 5 #include <ApplicationServices/ApplicationServices.h> |
| 6 #import <Cocoa/Cocoa.h> | 6 #import <Cocoa/Cocoa.h> |
| 7 #import <objc/objc-runtime.h> | 7 #import <objc/objc-runtime.h> |
| 8 #include <sys/stat.h> | 8 #include <sys/stat.h> |
| 9 | 9 |
| 10 #include "webkit/tools/test_shell/test_shell.h" | 10 #include "webkit/tools/test_shell/test_shell.h" |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 alert.messageText = @"Attach to me?"; | 604 alert.messageText = @"Attach to me?"; |
| 605 alert.informativeText = @"This would probably be a good time to attach your " | 605 alert.informativeText = @"This would probably be a good time to attach your " |
| 606 "debugger."; | 606 "debugger."; |
| 607 [alert addButtonWithTitle:@"OK"]; | 607 [alert addButtonWithTitle:@"OK"]; |
| 608 | 608 |
| 609 [alert runModal]; | 609 [alert runModal]; |
| 610 } | 610 } |
| 611 | 611 |
| 612 StringPiece TestShell::NetResourceProvider(int key) { | 612 StringPiece TestShell::NetResourceProvider(int key) { |
| 613 // TODO(port): Return the requested resource. | 613 // TODO(port): Return the requested resource. |
| 614 NOTIMPLEMENTED(); | |
| 615 return StringPiece(); | 614 return StringPiece(); |
| 616 } | 615 } |
| 617 | 616 |
| 618 //----------------------------------------------------------------------------- | 617 //----------------------------------------------------------------------------- |
| 619 | 618 |
| 620 namespace webkit_glue { | 619 namespace webkit_glue { |
| 621 | 620 |
| 622 string16 GetLocalizedString(int message_id) { | 621 string16 GetLocalizedString(int message_id) { |
| 623 StringPiece res; | 622 StringPiece res; |
| 624 if (!g_resource_data_pack->Get(message_id, &res)) { | 623 if (!g_resource_data_pack->Get(message_id, &res)) { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 return false; | 689 return false; |
| 691 } | 690 } |
| 692 | 691 |
| 693 void DidLoadPlugin(const std::string& filename) { | 692 void DidLoadPlugin(const std::string& filename) { |
| 694 } | 693 } |
| 695 | 694 |
| 696 void DidUnloadPlugin(const std::string& filename) { | 695 void DidUnloadPlugin(const std::string& filename) { |
| 697 } | 696 } |
| 698 | 697 |
| 699 } // namespace webkit_glue | 698 } // namespace webkit_glue |
| OLD | NEW |