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 CHROME_BROWSER_UI_IME_IME_NATIVE_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_IME_IME_NATIVE_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_IME_IME_NATIVE_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_IME_IME_NATIVE_WINDOW_H_ |
7 | 7 |
8 namespace content { | |
9 class WebContents; | |
10 } | |
11 | |
12 namespace gfx { | 8 namespace gfx { |
13 class Rect; | 9 class Rect; |
14 } | 10 } |
15 | 11 |
16 namespace ui { | 12 namespace ui { |
17 | 13 |
18 // The interface to bridge the interactions between ImeWindow and ImeWindowView. | 14 // The interface to bridge the interactions between ImeWindow and ImeWindowView. |
19 // Note that c/b/ui cannot depend upon the platform specific implementations. | 15 // Note that c/b/ui cannot depend upon the platform specific implementations. |
20 // This is held weakly by ImeWindow. The subclass should do self-destruction | 16 // This is held weakly by ImeWindow. The subclass should do self-destruction |
21 // while the IME window (widget) is destroyed, and its destructor is expected | 17 // while the IME window (widget) is destroyed, and its destructor is expected |
(...skipping 21 matching lines...) Expand all Loading... |
43 // For testing. | 39 // For testing. |
44 virtual bool IsVisible() const = 0; | 40 virtual bool IsVisible() const = 0; |
45 | 41 |
46 protected: | 42 protected: |
47 virtual ~ImeNativeWindow() {} | 43 virtual ~ImeNativeWindow() {} |
48 }; | 44 }; |
49 | 45 |
50 } // namespace ui | 46 } // namespace ui |
51 | 47 |
52 #endif // CHROME_BROWSER_UI_IME_IME_NATIVE_WINDOW_H_ | 48 #endif // CHROME_BROWSER_UI_IME_IME_NATIVE_WINDOW_H_ |
OLD | NEW |