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

Side by Side Diff: ui/arc/notification/arc_custom_notification_view.h

Issue 2767253005: Implement TOGGLE_EXPANSION action for the ARC notifications. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « no previous file | ui/arc/notification/arc_custom_notification_view.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_ 5 #ifndef UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_
6 #define UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_ 6 #define UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const ViewHierarchyChangedDetails& details) override; 78 const ViewHierarchyChangedDetails& details) override;
79 void Layout() override; 79 void Layout() override;
80 void OnPaint(gfx::Canvas* canvas) override; 80 void OnPaint(gfx::Canvas* canvas) override;
81 void OnKeyEvent(ui::KeyEvent* event) override; 81 void OnKeyEvent(ui::KeyEvent* event) override;
82 void OnGestureEvent(ui::GestureEvent* event) override; 82 void OnGestureEvent(ui::GestureEvent* event) override;
83 void OnMouseEntered(const ui::MouseEvent& event) override; 83 void OnMouseEntered(const ui::MouseEvent& event) override;
84 void OnMouseExited(const ui::MouseEvent& event) override; 84 void OnMouseExited(const ui::MouseEvent& event) override;
85 void OnFocus() override; 85 void OnFocus() override;
86 void OnBlur() override; 86 void OnBlur() override;
87 views::FocusTraversable* GetFocusTraversable() override; 87 views::FocusTraversable* GetFocusTraversable() override;
88 bool OnMousePressed(const ui::MouseEvent& event) override;
88 89
89 // views::ButtonListener 90 // views::ButtonListener
90 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 91 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
91 92
92 // aura::WindowObserver 93 // aura::WindowObserver
93 void OnWindowBoundsChanged(aura::Window* window, 94 void OnWindowBoundsChanged(aura::Window* window,
94 const gfx::Rect& old_bounds, 95 const gfx::Rect& old_bounds,
95 const gfx::Rect& new_bounds) override; 96 const gfx::Rect& new_bounds) override;
96 void OnWindowDestroying(aura::Window* window) override; 97 void OnWindowDestroying(aura::Window* window) override;
97 98
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 // Protects from call loops between Layout and OnWindowBoundsChanged. 133 // Protects from call loops between Layout and OnWindowBoundsChanged.
133 bool in_layout_ = false; 134 bool in_layout_ = false;
134 135
135 DISALLOW_COPY_AND_ASSIGN(ArcCustomNotificationView); 136 DISALLOW_COPY_AND_ASSIGN(ArcCustomNotificationView);
136 }; 137 };
137 138
138 } // namespace arc 139 } // namespace arc
139 140
140 #endif // UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_ 141 #endif // UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/arc/notification/arc_custom_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698