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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 | 40 |
41 namespace content { | 41 namespace content { |
42 | 42 |
43 class PageState; | 43 class PageState; |
44 class RenderWidgetHostDelegate; | 44 class RenderWidgetHostDelegate; |
45 class SessionStorageNamespace; | 45 class SessionStorageNamespace; |
46 struct FileChooserFileInfo; | 46 struct FileChooserFileInfo; |
47 struct FileChooserParams; | 47 struct FileChooserParams; |
48 struct FrameReplicationState; | 48 struct FrameReplicationState; |
49 | 49 |
| 50 #if defined(OS_WIN) |
| 51 class OnScreenKeyboardObserver; |
| 52 #endif |
| 53 |
50 // This implements the RenderViewHost interface that is exposed to | 54 // This implements the RenderViewHost interface that is exposed to |
51 // embedders of content, and adds things only visible to content. | 55 // embedders of content, and adds things only visible to content. |
52 // | 56 // |
53 // The exact API of this object needs to be more thoroughly designed. Right | 57 // The exact API of this object needs to be more thoroughly designed. Right |
54 // now it mimics what WebContentsImpl exposed, which is a fairly large API and | 58 // now it mimics what WebContentsImpl exposed, which is a fairly large API and |
55 // may contain things that are not relevant to a common subset of views. See | 59 // may contain things that are not relevant to a common subset of views. See |
56 // also the comment in render_view_host_delegate.h about the size and scope of | 60 // also the comment in render_view_host_delegate.h about the size and scope of |
57 // the delegate API. | 61 // the delegate API. |
58 // | 62 // |
59 // Right now, the concept of page navigation (both top level and frame) exists | 63 // Right now, the concept of page navigation (both top level and frame) exists |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 | 405 |
402 // This is updated every time UpdateWebkitPreferences is called. That method | 406 // This is updated every time UpdateWebkitPreferences is called. That method |
403 // is in turn called when any of the settings change that the WebPreferences | 407 // is in turn called when any of the settings change that the WebPreferences |
404 // values depend on. | 408 // values depend on. |
405 std::unique_ptr<WebPreferences> web_preferences_; | 409 std::unique_ptr<WebPreferences> web_preferences_; |
406 | 410 |
407 bool updating_web_preferences_; | 411 bool updating_web_preferences_; |
408 | 412 |
409 bool render_view_ready_on_process_launch_; | 413 bool render_view_ready_on_process_launch_; |
410 | 414 |
| 415 #if defined(OS_WIN) |
| 416 std::unique_ptr<OnScreenKeyboardObserver> keyboard_observer_; |
| 417 #endif |
| 418 |
411 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; | 419 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; |
412 | 420 |
413 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 421 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
414 }; | 422 }; |
415 | 423 |
416 } // namespace content | 424 } // namespace content |
417 | 425 |
418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |