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

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

Issue 14731020: Merge 199451 "Removes the space for notification icon if it's no..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 years, 7 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 | « no previous file | 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 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shelf/shelf_types.h" 9 #include "ash/shelf/shelf_types.h"
10 #include "ash/wm/gestures/shelf_gesture_handler.h" 10 #include "ash/wm/gestures/shelf_gesture_handler.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Overridden from ui::EventHandler: 44 // Overridden from ui::EventHandler:
45 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 45 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
46 46
47 // views::WidgetDelegate overrides: 47 // views::WidgetDelegate overrides:
48 virtual bool CanActivate() const OVERRIDE; 48 virtual bool CanActivate() const OVERRIDE;
49 virtual void DeleteDelegate() OVERRIDE; 49 virtual void DeleteDelegate() OVERRIDE;
50 50
51 protected: 51 protected:
52 // Overridden from views::View: 52 // Overridden from views::View:
53 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; 53 virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE;
54 virtual void ChildVisibilityChanged(views::View* child) OVERRIDE;
54 55
55 private: 56 private:
56 void UpdateWidgetSize(); 57 void UpdateWidgetSize();
57 58
58 const FocusCycler* focus_cycler_for_testing_; 59 const FocusCycler* focus_cycler_for_testing_;
59 ShelfAlignment alignment_; 60 ShelfAlignment alignment_;
60 61
61 ShelfGestureHandler gesture_handler_; 62 ShelfGestureHandler gesture_handler_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidgetDelegate); 64 DISALLOW_COPY_AND_ASSIGN(StatusAreaWidgetDelegate);
64 }; 65 };
65 66
66 } // namespace internal 67 } // namespace internal
67 } // namespace ash 68 } // namespace ash
68 69
69 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_ 70 #endif // ASH_SYSTEM_STATUS_AREA_WIDGET_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/system/status_area_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698