Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / gpu / gpu_child_thread.h
index ff0c925..b5c312d 100644 (file)
@@ -45,16 +45,16 @@ class GpuChildThread : public ChildThread {
   // For single-process mode.
   explicit GpuChildThread(const std::string& channel_id);
 
-  virtual ~GpuChildThread();
+  ~GpuChildThread() override;
 
-  virtual void Shutdown() OVERRIDE;
+  void Shutdown() override;
 
   void Init(const base::Time& process_start_time);
   void StopWatchdog();
 
   // ChildThread overrides.
-  virtual bool Send(IPC::Message* msg) OVERRIDE;
-  virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
+  bool Send(IPC::Message* msg) override;
+  bool OnControlMessageReceived(const IPC::Message& msg) override;
 
  private:
   // Message handlers.
@@ -67,6 +67,7 @@ class GpuChildThread : public ChildThread {
   void OnCrash();
   void OnHang();
   void OnDisableWatchdog();
+  void OnGpuSwitched();
 
 #if defined(USE_TCMALLOC)
   void OnGetGpuTcmalloc();