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

Side by Side Diff: ui/views/bubble/tray_bubble_view.h

Issue 2908073003: Ensure that mask layer is of the same size as the owning layer. (Closed)
Patch Set: style change Created 3 years, 6 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 | « ui/views/bubble/bubble_dialog_delegate.h ('k') | ui/views/bubble/tray_bubble_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 (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 UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ 5 #ifndef UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_
6 #define UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ 6 #define UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 void OnMouseEntered(const ui::MouseEvent& event) override; 138 void OnMouseEntered(const ui::MouseEvent& event) override;
139 void OnMouseExited(const ui::MouseEvent& event) override; 139 void OnMouseExited(const ui::MouseEvent& event) override;
140 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; 140 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
141 141
142 // Overridden from MouseWatcherListener 142 // Overridden from MouseWatcherListener
143 void MouseMovedOutOfHost() override; 143 void MouseMovedOutOfHost() override;
144 144
145 protected: 145 protected:
146 // Overridden from views::BubbleDialogDelegateView. 146 // Overridden from views::BubbleDialogDelegateView.
147 int GetDialogButtons() const override; 147 int GetDialogButtons() const override;
148 void SizeToContents() override;
148 149
149 // Overridden from views::View. 150 // Overridden from views::View.
150 void ChildPreferredSizeChanged(View* child) override; 151 void ChildPreferredSizeChanged(View* child) override;
151 void ViewHierarchyChanged( 152 void ViewHierarchyChanged(
152 const ViewHierarchyChangedDetails& details) override; 153 const ViewHierarchyChangedDetails& details) override;
153 154
154 private: 155 private:
155 InitParams params_; 156 InitParams params_;
156 BoxLayout* layout_; 157 BoxLayout* layout_;
157 Delegate* delegate_; 158 Delegate* delegate_;
(...skipping 11 matching lines...) Expand all
169 170
170 // Used to find any mouse movements. 171 // Used to find any mouse movements.
171 std::unique_ptr<MouseWatcher> mouse_watcher_; 172 std::unique_ptr<MouseWatcher> mouse_watcher_;
172 173
173 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView); 174 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView);
174 }; 175 };
175 176
176 } // namespace views 177 } // namespace views
177 178
178 #endif // UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ 179 #endif // UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/bubble/bubble_dialog_delegate.h ('k') | ui/views/bubble/tray_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698