Support backgroundColor for window on mac

This commit is contained in:
Gabriel Handford 2016-01-19 15:24:16 -08:00
parent 1b0da44f38
commit 239baa3e9a
5 changed files with 36 additions and 27 deletions

View file

@ -265,6 +265,9 @@ class NativeWindow : public base::SupportsUserData,
void BeforeUnloadDialogCancelled() override;
bool OnMessageReceived(const IPC::Message& message) override;
// Parse hex color like "#FFF" or "#EFEFEF"
SkColor ParseHexColor(const std::string& name);
private:
// Schedule a notification unresponsive event.
void ScheduleUnresponsiveEvent(int ms);