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

Side by Side Diff: ui/views/window/dialog_client_view.h

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 2 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/widget/widget.h ('k') | ui/wm/core/image_grid.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 (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_WINDOW_DIALOG_CLIENT_VIEW_H_ 5 #ifndef UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
6 #define UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 6 #define UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
7 7
8 #include "base/gtest_prod_util.h"
8 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
9 #include "ui/views/controls/button/button.h" 10 #include "ui/views/controls/button/button.h"
10 #include "ui/views/focus/focus_manager.h" 11 #include "ui/views/focus/focus_manager.h"
11 #include "ui/views/window/client_view.h" 12 #include "ui/views/window/client_view.h"
12 13
13 namespace views { 14 namespace views {
14 15
15 class DialogDelegate; 16 class DialogDelegate;
16 class LabelButton; 17 class LabelButton;
17 class Widget; 18 class Widget;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void ViewHierarchyChanged( 62 void ViewHierarchyChanged(
62 const ViewHierarchyChangedDetails& details) override; 63 const ViewHierarchyChangedDetails& details) override;
63 void NativeViewHierarchyChanged() override; 64 void NativeViewHierarchyChanged() override;
64 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; 65 void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
65 66
66 // ButtonListener implementation: 67 // ButtonListener implementation:
67 void ButtonPressed(Button* sender, const ui::Event& event) override; 68 void ButtonPressed(Button* sender, const ui::Event& event) override;
68 69
69 protected: 70 protected:
70 // For testing. 71 // For testing.
71 DialogClientView(View* contents_view); 72 explicit DialogClientView(View* contents_view);
72 73
73 // Returns the DialogDelegate for the window. Virtual for testing. 74 // Returns the DialogDelegate for the window. Virtual for testing.
74 virtual DialogDelegate* GetDialogDelegate() const; 75 virtual DialogDelegate* GetDialogDelegate() const;
75 76
76 // Create and add the extra view, if supplied by the delegate. 77 // Create and add the extra view, if supplied by the delegate.
77 void CreateExtraView(); 78 void CreateExtraView();
78 79
79 // Creates and adds the footnote view, if supplied by the delegate. 80 // Creates and adds the footnote view, if supplied by the delegate.
80 void CreateFootnoteView(); 81 void CreateFootnoteView();
81 82
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // http://crbug.com/71940). This is used to avoid notifying the delegate 125 // http://crbug.com/71940). This is used to avoid notifying the delegate
125 // twice, which can have bad consequences. 126 // twice, which can have bad consequences.
126 bool notified_delegate_; 127 bool notified_delegate_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(DialogClientView); 129 DISALLOW_COPY_AND_ASSIGN(DialogClientView);
129 }; 130 };
130 131
131 } // namespace views 132 } // namespace views
132 133
133 #endif // UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 134 #endif // UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/widget/widget.h ('k') | ui/wm/core/image_grid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698