mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 2b3ae3b8 (#394939)
This commit is contained in:
@ -9,11 +9,11 @@
|
||||
#include "include/views/cef_display.h"
|
||||
#include "libcef/browser/thread_util.h"
|
||||
|
||||
#include "ui/gfx/display.h"
|
||||
#include "ui/display/display.h"
|
||||
|
||||
class CefDisplayImpl : public CefDisplay {
|
||||
public:
|
||||
explicit CefDisplayImpl(const gfx::Display& display);
|
||||
explicit CefDisplayImpl(const display::Display& display);
|
||||
~CefDisplayImpl() override;
|
||||
|
||||
// CefDisplay methods:
|
||||
@ -25,10 +25,10 @@ class CefDisplayImpl : public CefDisplay {
|
||||
CefRect GetWorkArea() override;
|
||||
int GetRotation() override;
|
||||
|
||||
const gfx::Display& display() const { return display_; }
|
||||
const display::Display& display() const { return display_; }
|
||||
|
||||
private:
|
||||
gfx::Display display_;
|
||||
display::Display display_;
|
||||
|
||||
IMPLEMENT_REFCOUNTING_DELETE_ON_UIT(CefDisplayImpl);
|
||||
DISALLOW_COPY_AND_ASSIGN(CefDisplayImpl);
|
||||
|
Reference in New Issue
Block a user