| 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 #ifndef ChromeClientWin_h | 5 #ifndef ChromeClientWin_h |
| 6 #define ChromeClientWin_h | 6 #define ChromeClientWin_h |
| 7 | 7 |
| 8 #include <wtf/Forward.h> | 8 #include <wtf/Forward.h> |
| 9 | 9 |
| 10 #include "ChromeClient.h" | 10 #include "ChromeClient.h" |
| 11 | 11 |
| 12 namespace WebCore { | 12 namespace WebCore { |
| 13 | 13 |
| 14 class FileChooser; | 14 class FileChooser; |
| 15 class Frame; | 15 class Frame; |
| 16 class String; | 16 class String; |
| 17 | 17 |
| 18 class ChromeClientWin : public ChromeClient { | 18 class ChromeClientChromium : public ChromeClient { |
| 19 public: | 19 public: |
| 20 // Opens the file selection dialog. | 20 // Opens the file selection dialog. |
| 21 virtual void runFileChooser(const String& defaultFileName, | 21 virtual void runFileChooser(const String& defaultFileName, |
| 22 PassRefPtr<FileChooser> file_chooser) = 0; | 22 PassRefPtr<FileChooser> file_chooser) = 0; |
| 23 | 23 |
| 24 // Given a rect in main frame coordinates, returns a new rect relative | 24 // Given a rect in main frame coordinates, returns a new rect relative |
| 25 // to the screen. | 25 // to the screen. |
| 26 virtual IntRect windowToScreen(const IntRect& rect) = 0; | 26 virtual IntRect windowToScreen(const IntRect& rect) = 0; |
| 27 }; | 27 }; |
| 28 } | 28 } |
| 29 | 29 |
| 30 #endif // ChromeClientWin_h | 30 #endif // ChromeClientWin_h |
| 31 | 31 |
| OLD | NEW |