Chromium Code Reviews| Index: ui/gfx/screen_win.h |
| diff --git a/ui/gfx/screen_win.h b/ui/gfx/screen_win.h |
| index b1488ae05bb850b9cfc4cfa762219b56d47ff5d0..c1746340a58306ce9be2a1d224789ebfd688eee3 100644 |
| --- a/ui/gfx/screen_win.h |
| +++ b/ui/gfx/screen_win.h |
| @@ -5,6 +5,8 @@ |
| #ifndef UI_GFX_SCREEN_WIN_H_ |
| #define UI_GFX_SCREEN_WIN_H_ |
| +#include <stdint.h> |
| + |
| #include "base/compiler_specific.h" |
| #include "base/gtest_prod_util.h" |
| #include "base/macros.h" |
| @@ -27,6 +29,8 @@ class GFX_EXPORT ScreenWin : public Screen { |
| // Returns the NativeView associated with the HWND. |
| virtual NativeWindow GetNativeWindowFromHWND(HWND hwnd) const; |
| + static int64_t GenerateDisplayId(const std::wstring& str); |
|
scottmg
2016/01/09 01:00:05
#include <string> for std::wstring.
It looks like
robliao
2016/01/11 18:42:20
Alternatively, you can do...
static int64_t HashDe
Bret
2016/01/12 00:23:46
Done. I went with Scott's suggestion, since displa
|
| + |
| protected: |
| // Overridden from gfx::Screen: |
| gfx::Point GetCursorScreenPoint() override; |