summaryrefslogtreecommitdiffstats
path: root/webkit/port/page/chromium/ChromeClientChromium.h
blob: 66e08b070c6a711b8df92bd4060d033d243eb0e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ChromeClientWin_h
#define ChromeClientWin_h

#include <wtf/Forward.h>

#include "ChromeClient.h"

namespace WebCore {
    class Cursor;
    class FileChooser;
    class Frame;
    class FramelessScrollView;
    class IntRect;
    class String;
    class Widget;
    
    class ChromeClientChromium : public ChromeClient {
    public:
        // Opens the file selection dialog.
        virtual void runFileChooser(const String& defaultFileName,
                                    PassRefPtr<FileChooser> file_chooser) = 0;

        // Notifies the client of a new popup widget.  The client should place
        // and size the widget with the given bounds, relative to the screen.
        virtual void popupOpened(FramelessScrollView* popupView, const IntRect& bounds) = 0;

        // Set the current cursor.
        virtual void setCursor(const Cursor& cursor) = 0;
    };
}

#endif // ChromeClientWin_h