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

Side by Side Diff: ash/system/status_area_widget_delegate.h

Issue 10668009: UI refinement for left/right ash tray and bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/status_area_widget_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_
6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ 6 #define ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "ash/wm/shelf_types.h" 10 #include "ash/wm/shelf_types.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // views::WidgetDelegate overrides: 45 // views::WidgetDelegate overrides:
46 virtual bool CanActivate() const OVERRIDE; 46 virtual bool CanActivate() const OVERRIDE;
47 virtual void DeleteDelegate() OVERRIDE; 47 virtual void DeleteDelegate() OVERRIDE;
48 48
49 protected: 49 protected:
50 // Overridden from views::View: 50 // Overridden from views::View:
51 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; 51 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE;
52 52
53 private: 53 private:
54 void UpdateWidgetSize();
55
54 const FocusCycler* focus_cycler_for_testing_; 56 const FocusCycler* focus_cycler_for_testing_;
55 ShelfAlignment alignment_; 57 ShelfAlignment alignment_;
56 58
57 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidgetDelegate); 59 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidgetDelegate);
58 }; 60 };
59 61
60 } // namespace internal 62 } // namespace internal
61 } // namespace ash 63 } // namespace ash
62 64
63 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ 65 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/status_area_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698