summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/gpu_internals_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/gpu_internals_ui.cc')
-rw-r--r--chrome/browser/ui/webui/gpu_internals_ui.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/chrome/browser/ui/webui/gpu_internals_ui.cc b/chrome/browser/ui/webui/gpu_internals_ui.cc
index a6c8d79..8088c55 100644
--- a/chrome/browser/ui/webui/gpu_internals_ui.cc
+++ b/chrome/browser/ui/webui/gpu_internals_ui.cc
@@ -73,10 +73,10 @@ class GpuMessageHandler
virtual ~GpuMessageHandler();
// WebUIMessageHandler implementation.
- virtual WebUIMessageHandler* Attach(WebUI* web_ui);
- virtual void RegisterMessages();
+ virtual WebUIMessageHandler* Attach(WebUI* web_ui) OVERRIDE;
+ virtual void RegisterMessages() OVERRIDE;
- // Mesages
+ // Messages
void OnBeginTracing(const ListValue* list);
void OnEndTracingAsync(const ListValue* list);
void OnBrowserBridgeInitialized(const ListValue* list);
@@ -90,8 +90,10 @@ class GpuMessageHandler
Value* OnRequestLogMessages(const ListValue* list);
// SelectFileDialog::Listener implementation
- virtual void FileSelected(const FilePath& path, int index, void* params);
- virtual void FileSelectionCanceled(void* params);
+ virtual void FileSelected(const FilePath& path,
+ int index,
+ void* params) OVERRIDE;
+ virtual void FileSelectionCanceled(void* params) OVERRIDE;
// Callbacks.
void OnGpuInfoUpdate();
@@ -99,9 +101,9 @@ class GpuMessageHandler
void SaveTraceFileComplete();
// TraceSubscriber implementation.
- virtual void OnEndTracingComplete();
- virtual void OnTraceDataCollected(const std::string& json_events);
- virtual void OnTraceBufferPercentFullReply(float percent_full);
+ virtual void OnEndTracingComplete() OVERRIDE;
+ virtual void OnTraceDataCollected(const std::string& json_events) OVERRIDE;
+ virtual void OnTraceBufferPercentFullReply(float percent_full) OVERRIDE;
// Executes the javascript function |function_name| in the renderer, passing
// it the argument |value|.