| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CONTENT_PUBLIC_TEST_TEXT_INPUT_TEST_UTILS_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEXT_INPUT_TEST_UTILS_H_ |
| 6 #define CONTENT_PUBLIC_TEST_TEXT_INPUT_TEST_UTILS_H_ | 6 #define CONTENT_PUBLIC_TEST_TEXT_INPUT_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "ui/base/ime/text_input_mode.h" | 13 #include "ui/base/ime/text_input_mode.h" |
| 14 #include "ui/base/ime/text_input_type.h" | 14 #include "ui/base/ime/text_input_type.h" |
| 15 | 15 |
| 16 #ifdef OS_MACOSX | 16 #ifdef OS_MACOSX |
| 17 #include "content/public/browser/browser_message_filter.h" | 17 #include "content/public/browser/browser_message_filter.h" |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 namespace ipc { | 20 namespace ipc { |
| 21 class Message; | 21 class Message; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace gfx { | 24 namespace gfx { |
| 25 class Range; | 25 class Range; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace ui { | |
| 29 struct CompositionUnderline; | |
| 30 } | |
| 31 | |
| 32 namespace content { | 28 namespace content { |
| 33 | 29 |
| 34 class MessageLoopRunner; | 30 class MessageLoopRunner; |
| 35 class RenderProcessHost; | 31 class RenderProcessHost; |
| 36 class RenderWidgetHost; | 32 class RenderWidgetHost; |
| 37 class RenderWidgetHostView; | 33 class RenderWidgetHostView; |
| 38 class RenderWidgetHostViewBase; | 34 class RenderWidgetHostViewBase; |
| 39 class WebContents; | 35 class WebContents; |
| 40 struct TextInputState; | 36 struct TextInputState; |
| 41 | 37 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 const gfx::Range& range); | 224 const gfx::Range& range); |
| 229 | 225 |
| 230 // Returns the total count of NSWindows instances which belong to the currently | 226 // Returns the total count of NSWindows instances which belong to the currently |
| 231 // running NSApplication. | 227 // running NSApplication. |
| 232 size_t GetOpenNSWindowsCount(); | 228 size_t GetOpenNSWindowsCount(); |
| 233 #endif | 229 #endif |
| 234 | 230 |
| 235 } // namespace content | 231 } // namespace content |
| 236 | 232 |
| 237 #endif // CONTENT_PUBLIC_TEST_TEXT_INPUT_TEST_UTILS_H_ | 233 #endif // CONTENT_PUBLIC_TEST_TEXT_INPUT_TEST_UTILS_H_ |
| OLD | NEW |