~ubuntu-branches/ubuntu/karmic/webkit/karmic-proposed

« back to all changes in this revision

Viewing changes to WebCore/loader/EmptyClients.h

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-05-15 18:30:58 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515183058-50q5exjo9b1kxy9s
Tags: 1.1.7-1
* New upstream release
* debian/libwebkit-1.0-2.symbols:
- updated with the new symbols in 1.1.7
* debian/libwebkit-dev.install, debian/libwebkit-dev.links,
  debian/rules:
- Build, and ship gtk-doc documentation (Closes: #526683)
* debian/copyright:
- updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
 
3
 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
3
4
 *
4
5
 * Redistribution and use in source and binary forms, with or without
5
6
 * modification, are permitted provided that the following conditions
28
29
 
29
30
#include "ChromeClient.h"
30
31
#include "ContextMenuClient.h"
 
32
#include "Console.h"
31
33
#include "DocumentLoader.h"
32
34
#include "DragClient.h"
33
35
#include "EditCommand.h"
93
95
 
94
96
    virtual void setResizable(bool) { }
95
97
 
96
 
    virtual void addMessageToConsole(const String&, unsigned, const String&) { }
 
98
    virtual void addMessageToConsole(MessageSource, MessageLevel, const String&, unsigned, const String&) { }
97
99
 
98
100
    virtual bool canRunBeforeUnloadConfirmPanel() { return false; }
99
101
    virtual bool runBeforeUnloadConfirmPanel(const String&, Frame*) { return true; }
127
129
 
128
130
    virtual void print(Frame*) { }
129
131
 
 
132
#if ENABLE(DATABASE)
130
133
    virtual void exceededDatabaseQuota(Frame*, const String&) { }
 
134
#endif
131
135
 
132
136
    virtual void runOpenPanel(Frame*, PassRefPtr<FileChooser>) { }
133
137
 
134
138
    virtual void formStateDidChange(const Node*) { }
 
139
 
 
140
    virtual HTMLParserQuirks* createHTMLParserQuirks() { return 0; }
135
141
};
136
142
 
137
143
class EmptyFrameLoaderClient : public FrameLoaderClient {
162
168
    virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long) { }
163
169
    virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long, const ResourceError&) { }
164
170
    virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int) { return false; }
 
171
    virtual void dispatchDidLoadResourceByXMLHttpRequest(unsigned long, const ScriptString&) { }
165
172
 
166
173
    virtual void dispatchDidHandleOnloadEvents() { }
167
174
    virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() { }