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

Side by Side Diff: remoting/host/chromeos/message_box.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "remoting/host/chromeos/message_box.h" 5 #include "remoting/host/chromeos/message_box.h"
6 6
7 #include "base/macros.h"
7 #include "ui/base/l10n/l10n_util.h" 8 #include "ui/base/l10n/l10n_util.h"
8 #include "ui/views/controls/message_box_view.h" 9 #include "ui/views/controls/message_box_view.h"
9 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
10 #include "ui/views/window/dialog_delegate.h" 11 #include "ui/views/window/dialog_delegate.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 14
14 // MessageBox::Core creates the dialog using the views::DialogWidget. The 15 // MessageBox::Core creates the dialog using the views::DialogWidget. The
15 // DialogWidget is created by the caller but its lifetime is managed by the 16 // DialogWidget is created by the caller but its lifetime is managed by the
16 // NativeWidget. The DialogWidget communicates with the caller using the 17 // NativeWidget. The DialogWidget communicates with the caller using the
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 186 }
186 187
187 void MessageBox::Hide() { 188 void MessageBox::Hide() {
188 DCHECK(thread_checker_.CalledOnValidThread()); 189 DCHECK(thread_checker_.CalledOnValidThread());
189 if (core_) { 190 if (core_) {
190 core_->Hide(); 191 core_->Hide();
191 } 192 }
192 } 193 }
193 194
194 } // namespace remoting 195 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromeos/message_box.h ('k') | remoting/host/chromeos/mouse_cursor_monitor_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698