summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/geolocation_dispatcher_old.h18
-rw-r--r--chrome/renderer/media/audio_renderer_impl.h14
-rw-r--r--chrome/renderer/plugin_channel_host.h6
-rw-r--r--chrome/renderer/renderer_histogram_snapshots.h8
-rw-r--r--chrome/renderer/renderer_webidbobjectstore_impl.h48
-rw-r--r--chrome/renderer/speech_input_dispatcher.h12
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.h2
-rw-r--r--chrome/renderer/websharedworker_proxy.h2
-rw-r--r--chrome/renderer/webworker_proxy.h2
9 files changed, 57 insertions, 55 deletions
diff --git a/chrome/renderer/geolocation_dispatcher_old.h b/chrome/renderer/geolocation_dispatcher_old.h
index 41473f3..57f7d8a 100644
--- a/chrome/renderer/geolocation_dispatcher_old.h
+++ b/chrome/renderer/geolocation_dispatcher_old.h
@@ -33,16 +33,18 @@ class GeolocationDispatcherOld : public WebKit::WebGeolocationService {
bool OnMessageReceived(const IPC::Message& msg);
// WebKit::WebGeolocationService.
- void requestPermissionForFrame(int bridge_id, const WebKit::WebURL& url);
- void cancelPermissionRequestForFrame(
+ virtual void requestPermissionForFrame(int bridge_id,
+ const WebKit::WebURL& url);
+ virtual void cancelPermissionRequestForFrame(
int bridge_id, const WebKit::WebURL& url);
- void startUpdating(
+ virtual void startUpdating(
int bridge_id, const WebKit::WebURL& url, bool enableHighAccuracy);
- void stopUpdating(int bridge_id);
- void suspend(int bridge_id);
- void resume(int bridge_id);
- int attachBridge(WebKit::WebGeolocationServiceBridge* geolocation_service);
- void detachBridge(int bridge_id);
+ virtual void stopUpdating(int bridge_id);
+ virtual void suspend(int bridge_id);
+ virtual void resume(int bridge_id);
+ virtual int attachBridge(
+ WebKit::WebGeolocationServiceBridge* geolocation_service);
+ virtual void detachBridge(int bridge_id);
private:
// Permission for using geolocation has been set.
diff --git a/chrome/renderer/media/audio_renderer_impl.h b/chrome/renderer/media/audio_renderer_impl.h
index 7c0ea8e..5c8d4cc 100644
--- a/chrome/renderer/media/audio_renderer_impl.h
+++ b/chrome/renderer/media/audio_renderer_impl.h
@@ -61,13 +61,13 @@ class AudioRendererImpl : public media::AudioRendererBase,
// Methods called on IO thread ----------------------------------------------
// AudioMessageFilter::Delegate methods, called by AudioMessageFilter.
- void OnRequestPacket(AudioBuffersState buffers_state);
- void OnStateChanged(const ViewMsg_AudioStreamState_Params& state);
- void OnCreated(base::SharedMemoryHandle handle, uint32 length);
- void OnLowLatencyCreated(base::SharedMemoryHandle handle,
- base::SyncSocket::Handle socket_handle,
- uint32 length);
- void OnVolume(double volume);
+ virtual void OnRequestPacket(AudioBuffersState buffers_state);
+ virtual void OnStateChanged(const ViewMsg_AudioStreamState_Params& state);
+ virtual void OnCreated(base::SharedMemoryHandle handle, uint32 length);
+ virtual void OnLowLatencyCreated(base::SharedMemoryHandle handle,
+ base::SyncSocket::Handle socket_handle,
+ uint32 length);
+ virtual void OnVolume(double volume);
// Methods called on pipeline thread ----------------------------------------
// media::Filter implementation.
diff --git a/chrome/renderer/plugin_channel_host.h b/chrome/renderer/plugin_channel_host.h
index 1a46c20..f4e95dc 100644
--- a/chrome/renderer/plugin_channel_host.h
+++ b/chrome/renderer/plugin_channel_host.h
@@ -21,14 +21,14 @@ class PluginChannelHost : public PluginChannelBase {
virtual bool Init(MessageLoop* ipc_message_loop, bool create_pipe_now);
- int GenerateRouteID();
+ virtual int GenerateRouteID();
void AddRoute(int route_id, IPC::Channel::Listener* listener,
NPObjectBase* npobject);
void RemoveRoute(int route_id);
// IPC::Channel::Listener override
- void OnChannelError();
+ virtual void OnChannelError();
static void SetListening(bool flag);
@@ -47,7 +47,7 @@ class PluginChannelHost : public PluginChannelBase {
static PluginChannelBase* ClassFactory() { return new PluginChannelHost(); }
- void OnControlMessageReceived(const IPC::Message& message);
+ virtual void OnControlMessageReceived(const IPC::Message& message);
void OnSetException(const std::string& message);
void OnPluginShuttingDown(const IPC::Message& message);
diff --git a/chrome/renderer/renderer_histogram_snapshots.h b/chrome/renderer/renderer_histogram_snapshots.h
index 5155b6f..de3ccc4 100644
--- a/chrome/renderer/renderer_histogram_snapshots.h
+++ b/chrome/renderer/renderer_histogram_snapshots.h
@@ -37,12 +37,12 @@ class RendererHistogramSnapshots : public HistogramSender {
renderer_histogram_snapshots_factory_;
// HistogramSender interface (override) methods.
- void TransmitHistogramDelta(
+ virtual void TransmitHistogramDelta(
const base::Histogram& histogram,
const base::Histogram::SampleSet& snapshot);
- void InconsistencyDetected(int problem);
- void UniqueInconsistencyDetected(int problem);
- void SnapshotProblemResolved(int amount);
+ virtual void InconsistencyDetected(int problem);
+ virtual void UniqueInconsistencyDetected(int problem);
+ virtual void SnapshotProblemResolved(int amount);
// Collection of histograms to send to the browser.
HistogramPickledList pickled_histograms_;
diff --git a/chrome/renderer/renderer_webidbobjectstore_impl.h b/chrome/renderer/renderer_webidbobjectstore_impl.h
index 9d43a8b..86be9aa 100644
--- a/chrome/renderer/renderer_webidbobjectstore_impl.h
+++ b/chrome/renderer/renderer_webidbobjectstore_impl.h
@@ -25,39 +25,39 @@ class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
~RendererWebIDBObjectStoreImpl();
// WebKit::WebIDBObjectStore
- WebKit::WebString name() const;
- WebKit::WebString keyPath() const;
- WebKit::WebDOMStringList indexNames() const;
+ virtual WebKit::WebString name() const;
+ virtual WebKit::WebString keyPath() const;
+ virtual WebKit::WebDOMStringList indexNames() const;
- void get(const WebKit::WebIDBKey& key,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
- void put(const WebKit::WebSerializedScriptValue& value,
- const WebKit::WebIDBKey& key,
- bool add_only,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
- void deleteFunction(const WebKit::WebIDBKey& key,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
+ virtual void get(const WebKit::WebIDBKey& key,
+ WebKit::WebIDBCallbacks* callbacks,
+ const WebKit::WebIDBTransaction& transaction,
+ WebKit::WebExceptionCode& ec);
+ virtual void put(const WebKit::WebSerializedScriptValue& value,
+ const WebKit::WebIDBKey& key,
+ bool add_only,
+ WebKit::WebIDBCallbacks* callbacks,
+ const WebKit::WebIDBTransaction& transaction,
+ WebKit::WebExceptionCode& ec);
+ virtual void deleteFunction(const WebKit::WebIDBKey& key,
+ WebKit::WebIDBCallbacks* callbacks,
+ const WebKit::WebIDBTransaction& transaction,
+ WebKit::WebExceptionCode& ec);
- WebKit::WebIDBIndex* createIndex(
+ virtual WebKit::WebIDBIndex* createIndex(
const WebKit::WebString& name,
const WebKit::WebString& key_path,
bool unique,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode& ec);
// Transfers ownership of the WebIDBIndex to the caller.
- WebKit::WebIDBIndex* index(const WebKit::WebString& name,
- WebKit::WebExceptionCode& ec);
- void deleteIndex(const WebKit::WebString& name,
- const WebKit::WebIDBTransaction& transaction,
- WebKit::WebExceptionCode& ec);
+ virtual WebKit::WebIDBIndex* index(const WebKit::WebString& name,
+ WebKit::WebExceptionCode& ec);
+ virtual void deleteIndex(const WebKit::WebString& name,
+ const WebKit::WebIDBTransaction& transaction,
+ WebKit::WebExceptionCode& ec);
- void openCursor(const WebKit::WebIDBKeyRange& idb_key_range,
+ virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range,
unsigned short direction,
WebKit::WebIDBCallbacks* callbacks,
const WebKit::WebIDBTransaction& transaction,
diff --git a/chrome/renderer/speech_input_dispatcher.h b/chrome/renderer/speech_input_dispatcher.h
index 1af8f5d..09133d2 100644
--- a/chrome/renderer/speech_input_dispatcher.h
+++ b/chrome/renderer/speech_input_dispatcher.h
@@ -31,13 +31,13 @@ class SpeechInputDispatcher : public WebKit::WebSpeechInputController {
bool OnMessageReceived(const IPC::Message& msg);
// WebKit::WebSpeechInputController.
- bool startRecognition(int request_id,
- const WebKit::WebRect& element_rect,
- const WebKit::WebString& language,
- const WebKit::WebString& grammar);
+ virtual bool startRecognition(int request_id,
+ const WebKit::WebRect& element_rect,
+ const WebKit::WebString& language,
+ const WebKit::WebString& grammar);
- void cancelRecognition(int request_id);
- void stopRecording(int request_id);
+ virtual void cancelRecognition(int request_id);
+ virtual void stopRecording(int request_id);
private:
void OnSpeechRecognitionResult(
diff --git a/chrome/renderer/webplugin_delegate_proxy.h b/chrome/renderer/webplugin_delegate_proxy.h
index 4dea6c7..2c20583 100644
--- a/chrome/renderer/webplugin_delegate_proxy.h
+++ b/chrome/renderer/webplugin_delegate_proxy.h
@@ -94,7 +94,7 @@ class WebPluginDelegateProxy
// IPC::Channel::Listener implementation:
virtual void OnMessageReceived(const IPC::Message& msg);
- void OnChannelError();
+ virtual void OnChannelError();
// IPC::Message::Sender implementation:
virtual bool Send(IPC::Message* msg);
diff --git a/chrome/renderer/websharedworker_proxy.h b/chrome/renderer/websharedworker_proxy.h
index 26626e2..78b1167 100644
--- a/chrome/renderer/websharedworker_proxy.h
+++ b/chrome/renderer/websharedworker_proxy.h
@@ -41,7 +41,7 @@ class WebSharedWorkerProxy : public WebKit::WebSharedWorker,
virtual void clientDestroyed();
// IPC::Channel::Listener implementation.
- void OnMessageReceived(const IPC::Message& message);
+ virtual void OnMessageReceived(const IPC::Message& message);
private:
void OnWorkerCreated();
diff --git a/chrome/renderer/webworker_proxy.h b/chrome/renderer/webworker_proxy.h
index fbe3775..556f3dc 100644
--- a/chrome/renderer/webworker_proxy.h
+++ b/chrome/renderer/webworker_proxy.h
@@ -43,7 +43,7 @@ class WebWorkerProxy : public WebKit::WebWorker, private WebWorkerBase {
virtual void clientDestroyed();
// IPC::Channel::Listener implementation.
- void OnMessageReceived(const IPC::Message& message);
+ virtual void OnMessageReceived(const IPC::Message& message);
private:
void CancelCreation();