OLD | NEW |
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 #include "content/browser/renderer_host/render_widget_host_view_win.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_win.h" |
6 | 6 |
7 #include <InputScope.h> | 7 #include <InputScope.h> |
8 #include <wtsapi32.h> | 8 #include <wtsapi32.h> |
9 #pragma comment(lib, "wtsapi32.lib") | 9 #pragma comment(lib, "wtsapi32.lib") |
10 | 10 |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 if (!base::win::IsTSFAwareRequired()) { | 1023 if (!base::win::IsTSFAwareRequired()) { |
1024 NOTREACHED(); | 1024 NOTREACHED(); |
1025 return; | 1025 return; |
1026 } | 1026 } |
1027 if (render_widget_host_) | 1027 if (render_widget_host_) |
1028 render_widget_host_->ImeConfirmComposition(text, | 1028 render_widget_host_->ImeConfirmComposition(text, |
1029 gfx::Range::InvalidRange(), | 1029 gfx::Range::InvalidRange(), |
1030 false); | 1030 false); |
1031 } | 1031 } |
1032 | 1032 |
1033 void RenderWidgetHostViewWin::InsertChar(char16 ch, int flags) { | 1033 void RenderWidgetHostViewWin::InsertChar(base::char16 ch, int flags) { |
1034 if (!base::win::IsTSFAwareRequired()) { | 1034 if (!base::win::IsTSFAwareRequired()) { |
1035 NOTREACHED(); | 1035 NOTREACHED(); |
1036 return; | 1036 return; |
1037 } | 1037 } |
1038 // TODO(nona): Implement this function. | 1038 // TODO(nona): Implement this function. |
1039 NOTIMPLEMENTED(); | 1039 NOTIMPLEMENTED(); |
1040 } | 1040 } |
1041 | 1041 |
1042 gfx::NativeWindow RenderWidgetHostViewWin::GetAttachedWindow() const { | 1042 gfx::NativeWindow RenderWidgetHostViewWin::GetAttachedWindow() const { |
1043 return m_hWnd; | 1043 return m_hWnd; |
(...skipping 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3219 return new RenderWidgetHostViewWin(widget); | 3219 return new RenderWidgetHostViewWin(widget); |
3220 } | 3220 } |
3221 | 3221 |
3222 // static | 3222 // static |
3223 void RenderWidgetHostViewPort::GetDefaultScreenInfo( | 3223 void RenderWidgetHostViewPort::GetDefaultScreenInfo( |
3224 blink::WebScreenInfo* results) { | 3224 blink::WebScreenInfo* results) { |
3225 GetScreenInfoForWindow(0, results); | 3225 GetScreenInfoForWindow(0, results); |
3226 } | 3226 } |
3227 | 3227 |
3228 } // namespace content | 3228 } // namespace content |
OLD | NEW |