linux: Implement context menu with views.

This commit is contained in:
Cheng Zhao 2014-07-10 12:07:01 +08:00
parent 83ff00dc29
commit 49160819d2
5 changed files with 54 additions and 59 deletions

View file

@ -70,6 +70,7 @@ class NativeWindowViews : public NativeWindow,
virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
SkRegion* draggable_region() const { return draggable_region_.get(); }
views::Widget* widget() const { return window_.get(); }
private:
// NativeWindow: