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

Unified Diff: ui/aura_extra/image_window_delegate.h

Issue 895543005: Refactor GestureNavigation to eliminate code redundancy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New design with window|wrapper in OWA Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/aura_extra/image_window_delegate.h
diff --git a/ui/aura_extra/image_window_delegate.h b/ui/aura_extra/image_window_delegate.h
index ea36cd978575f56322e1c1ec29ec48e1f3302de8..3f5a1f9ce6e9250e7ed0bcf3fbf5760c70a1c65c 100644
--- a/ui/aura_extra/image_window_delegate.h
+++ b/ui/aura_extra/image_window_delegate.h
@@ -32,6 +32,9 @@ class AURA_EXTRA_EXPORT ImageWindowDelegate : public aura::WindowDelegate {
bool has_image() const { return !image_.IsEmpty(); }
+ // TODO this method is an overkill, store image in ONO.
+ gfx::Image Image() const { return image_; }
+
protected:
~ImageWindowDelegate() override;
« content/browser/web_contents/web_contents_view_aura.cc ('K') | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698