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