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

Unified Diff: ash/frame/custom_frame_view_ash.h

Issue 200483004: Show avatar icon on V2 app's frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: ash/frame/custom_frame_view_ash.h
diff --git a/ash/frame/custom_frame_view_ash.h b/ash/frame/custom_frame_view_ash.h
index 9a87e71b090ab90a764342baf21c3a79f7ddd31b..8d2d62a2553964380b77f0bd6fe057f50622b3d3 100644
--- a/ash/frame/custom_frame_view_ash.h
+++ b/ash/frame/custom_frame_view_ash.h
@@ -11,10 +11,10 @@
namespace ash {
class FrameBorderHitTestController;
-class HeaderPainter;
class ImmersiveFullscreenController;
}
namespace views {
+class ImageView;
class Widget;
}
@@ -59,10 +59,14 @@ class ASH_EXPORT CustomFrameViewAsh : public views::NonClientFrameView {
virtual gfx::Size GetMaximumSize() OVERRIDE;
virtual void SchedulePaintInRect(const gfx::Rect& r) OVERRIDE;
virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
+ virtual void VisibilityChanged(views::View* starting_from,
+ bool is_visible) OVERRIDE;
// Get the view of the header.
views::View* GetHeaderView();
+ const views::View* GetAvatarIconViewForTest() const;
oshima 2014/03/14 20:40:44 I'm doing here as I've been told this is better th
Mr4D (OOO till 08-26) 2014/03/14 22:01:30 I usually do it this way. All the testing related
+
private:
class OverlayView;
friend class TestWidgetConstraintsDelegate;

Powered by Google App Engine
This is Rietveld 408576698