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

Side by Side Diff: ui/views/controls/message_box_view.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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/controls/menu/submenu_view.h ('k') | ui/views/controls/native/native_view_host.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_CONTROLS_MESSAGE_BOX_VIEW_H_ 5 #ifndef UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
6 #define UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ 6 #define UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void SetCheckBoxLabel(const base::string16& label); 67 void SetCheckBoxLabel(const base::string16& label);
68 68
69 // Sets the state of the check-box. 69 // Sets the state of the check-box.
70 void SetCheckBoxSelected(bool selected); 70 void SetCheckBoxSelected(bool selected);
71 71
72 // Sets the text and the listener of the link. If |text| is empty, the link 72 // Sets the text and the listener of the link. If |text| is empty, the link
73 // is removed. 73 // is removed.
74 void SetLink(const base::string16& text, LinkListener* listener); 74 void SetLink(const base::string16& text, LinkListener* listener);
75 75
76 // View: 76 // View:
77 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; 77 virtual void GetAccessibleState(ui::AXViewState* state) override;
78 78
79 protected: 79 protected:
80 // View: 80 // View:
81 virtual void ViewHierarchyChanged( 81 virtual void ViewHierarchyChanged(
82 const ViewHierarchyChangedDetails& details) OVERRIDE; 82 const ViewHierarchyChangedDetails& details) override;
83 // Handles Ctrl-C and writes the message in the system clipboard. 83 // Handles Ctrl-C and writes the message in the system clipboard.
84 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 84 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
85 85
86 private: 86 private:
87 // Sets up the layout manager and initializes the message labels and prompt 87 // Sets up the layout manager and initializes the message labels and prompt
88 // field. This should only be called once, from the constructor. 88 // field. This should only be called once, from the constructor.
89 void Init(const InitParams& params); 89 void Init(const InitParams& params);
90 90
91 // Sets up the layout manager based on currently initialized views. Should be 91 // Sets up the layout manager based on currently initialized views. Should be
92 // called when a view is initialized or changed. 92 // called when a view is initialized or changed.
93 void ResetLayoutManager(); 93 void ResetLayoutManager();
94 94
(...skipping 14 matching lines...) Expand all
109 109
110 // Spacing between rows in the grid layout. 110 // Spacing between rows in the grid layout.
111 int inter_row_vertical_spacing_; 111 int inter_row_vertical_spacing_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(MessageBoxView); 113 DISALLOW_COPY_AND_ASSIGN(MessageBoxView);
114 }; 114 };
115 115
116 } // namespace views 116 } // namespace views
117 117
118 #endif // UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ 118 #endif // UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/controls/menu/submenu_view.h ('k') | ui/views/controls/native/native_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698