| OLD | NEW |
| 1 // Copyright (c) 2008, Google Inc. | 1 // Copyright (c) 2008, Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 #include "Icon.h" | 32 #include "Icon.h" |
| 33 #include "PassRefPtr.h" | 33 #include "PassRefPtr.h" |
| 34 | 34 |
| 35 // TODO(port): These are temporary stubs, we need real implementations which | 35 // TODO(port): These are temporary stubs, we need real implementations which |
| 36 // may come in the form of IconChromium.cpp. The Windows Chromium | 36 // may come in the form of IconChromium.cpp. The Windows Chromium |
| 37 // implementation is currently in IconWin.cpp. | 37 // implementation is currently in IconWin.cpp. |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 PassRefPtr<Icon> Icon::newIconForFile(const String& filename) | 41 PassRefPtr<Icon> Icon::createIconForFile(const String& filename) |
| 42 { |
| 43 return NULL; |
| 44 } |
| 45 |
| 46 PassRefPtr<Icon> Icon::createIconForFiles(const Vector<String>& filenames) |
| 42 { | 47 { |
| 43 return NULL; | 48 return NULL; |
| 44 } | 49 } |
| 45 | 50 |
| 46 Icon::~Icon() | 51 Icon::~Icon() |
| 47 { | 52 { |
| 48 } | 53 } |
| 49 | 54 |
| 50 void Icon::paint(GraphicsContext* context, const IntRect& rect) | 55 void Icon::paint(GraphicsContext* context, const IntRect& rect) |
| 51 { | 56 { |
| 52 } | 57 } |
| 53 | 58 |
| 54 } | 59 } |
| OLD | NEW |