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

Side by Side Diff: ui/message_center/views/message_center_button_bar.h

Issue 1351363002: Fix the typo "visibility". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « mandoline/ui/aura/native_widget_view_manager.cc ('k') | ui/touch_selection/touch_handle.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_
7 7
8 #include "ui/views/controls/button/button.h" 8 #include "ui/views/controls/button/button.h"
9 #include "ui/views/controls/button/image_button.h" 9 #include "ui/views/controls/button/image_button.h"
10 #include "ui/views/view.h" 10 #include "ui/views/view.h"
(...skipping 28 matching lines...) Expand all
39 virtual void SetAllButtonsEnabled(bool enabled); 39 virtual void SetAllButtonsEnabled(bool enabled);
40 40
41 // Sometimes we shouldn't see the close-all button. 41 // Sometimes we shouldn't see the close-all button.
42 void SetCloseAllButtonEnabled(bool enabled); 42 void SetCloseAllButtonEnabled(bool enabled);
43 43
44 // Sometimes we shouldn't see the back arrow (not in settings). 44 // Sometimes we shouldn't see the back arrow (not in settings).
45 void SetBackArrowVisible(bool visible); 45 void SetBackArrowVisible(bool visible);
46 46
47 private: 47 private:
48 // Updates the layout manager which can have differing configuration 48 // Updates the layout manager which can have differing configuration
49 // depending on the visibilty of different parts of the button bar. 49 // depending on the visibility of different parts of the button bar.
50 void ViewVisibilityChanged(); 50 void ViewVisibilityChanged();
51 51
52 // Overridden from views::View: 52 // Overridden from views::View:
53 void ChildVisibilityChanged(views::View* child) override; 53 void ChildVisibilityChanged(views::View* child) override;
54 54
55 // Overridden from views::ButtonListener: 55 // Overridden from views::ButtonListener:
56 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 56 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
57 57
58 MessageCenterView* message_center_view() const { 58 MessageCenterView* message_center_view() const {
59 return message_center_view_; 59 return message_center_view_;
(...skipping 19 matching lines...) Expand all
79 NotificationCenterButton* close_all_button_; 79 NotificationCenterButton* close_all_button_;
80 NotificationCenterButton* settings_button_; 80 NotificationCenterButton* settings_button_;
81 NotificationCenterButton* quiet_mode_button_; 81 NotificationCenterButton* quiet_mode_button_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(MessageCenterButtonBar); 83 DISALLOW_COPY_AND_ASSIGN(MessageCenterButtonBar);
84 }; 84 };
85 85
86 } // namespace message_center 86 } // namespace message_center
87 87
88 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_ 88 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUTTON_BAR_H_
OLDNEW
« no previous file with comments | « mandoline/ui/aura/native_widget_view_manager.cc ('k') | ui/touch_selection/touch_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698