OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/win/message_window.h" | 5 #include "remoting/host/win/message_window.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/process_util.h" | 8 #include "base/process_util.h" |
9 #include "base/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "base/win/wrapped_window_proc.h" | 11 #include "base/win/wrapped_window_proc.h" |
12 | 12 |
13 const char kClassNameFormat[] = "Chromoting_MessageWindow_%p"; | 13 const char kClassNameFormat[] = "Chromoting_MessageWindow_%p"; |
14 | 14 |
15 namespace remoting { | 15 namespace remoting { |
16 namespace win { | 16 namespace win { |
17 | 17 |
18 MessageWindow::MessageWindow() | 18 MessageWindow::MessageWindow() |
19 : atom_(0), | 19 : atom_(0), |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 LRESULT message_result; | 109 LRESULT message_result; |
110 if (delegate->HandleMessage(hwnd, message, wparam, lparam, &message_result)) | 110 if (delegate->HandleMessage(hwnd, message, wparam, lparam, &message_result)) |
111 return message_result; | 111 return message_result; |
112 } | 112 } |
113 | 113 |
114 return DefWindowProc(hwnd, message, wparam, lparam); | 114 return DefWindowProc(hwnd, message, wparam, lparam); |
115 } | 115 } |
116 | 116 |
117 } // namespace win | 117 } // namespace win |
118 } // namespace remoting | 118 } // namespace remoting |
OLD | NEW |