Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: ui/ozone/platform/dri/chromeos/display_message_handler.h

Issue 548613002: Revert of [Ozone-GBM] Handle GPU crashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MESSAGE_HANDLER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MESSAGE_HANDLER_H_
6 #define UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MESSAGE_HANDLER_H_ 6 #define UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MESSAGE_HANDLER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/ozone/public/gpu_platform_support.h" 9 #include "ui/ozone/public/gpu_platform_support.h"
10 10
(...skipping 14 matching lines...) Expand all
25 virtual ~DisplayMessageHandler(); 25 virtual ~DisplayMessageHandler();
26 26
27 // GpuPlatformSupport: 27 // GpuPlatformSupport:
28 virtual void OnChannelEstablished(IPC::Sender* sender) OVERRIDE; 28 virtual void OnChannelEstablished(IPC::Sender* sender) OVERRIDE;
29 29
30 // IPC::Listener: 30 // IPC::Listener:
31 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 31 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
32 32
33 private: 33 private:
34 void OnForceDPMSOn(); 34 void OnForceDPMSOn();
35 void OnRefreshNativeDisplays( 35 void OnRefreshNativeDisplays();
36 const std::vector<DisplaySnapshot_Params>& cached_displays);
37 void OnConfigureNativeDisplay(int64_t id, 36 void OnConfigureNativeDisplay(int64_t id,
38 const DisplayMode_Params& mode, 37 const DisplayMode_Params& mode,
39 const gfx::Point& origin); 38 const gfx::Point& origin);
40 void OnDisableNativeDisplay(int64_t id); 39 void OnDisableNativeDisplay(int64_t id);
41 40
42 IPC::Sender* sender_; 41 IPC::Sender* sender_;
43 scoped_ptr<NativeDisplayDelegateDri> ndd_; 42 scoped_ptr<NativeDisplayDelegateDri> ndd_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(DisplayMessageHandler); 44 DISALLOW_COPY_AND_ASSIGN(DisplayMessageHandler);
46 }; 45 };
47 46
48 } // namespace ui 47 } // namespace ui
49 48
50 #endif // UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MESSAGE_HANDLER_H_ 49 #endif // UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/channel_observer.h ('k') | ui/ozone/platform/dri/chromeos/display_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698