OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #include "public/web/WebPageImportanceSignals.h" | 56 #include "public/web/WebPageImportanceSignals.h" |
57 #include "public/web/WebView.h" | 57 #include "public/web/WebView.h" |
58 #include "web/ChromeClientImpl.h" | 58 #include "web/ChromeClientImpl.h" |
59 #include "web/ContextMenuClientImpl.h" | 59 #include "web/ContextMenuClientImpl.h" |
60 #include "web/EditorClientImpl.h" | 60 #include "web/EditorClientImpl.h" |
61 #include "web/MediaKeysClientImpl.h" | 61 #include "web/MediaKeysClientImpl.h" |
62 #include "web/PageWidgetDelegate.h" | 62 #include "web/PageWidgetDelegate.h" |
63 #include "web/ResizeViewportAnchor.h" | 63 #include "web/ResizeViewportAnchor.h" |
64 #include "web/SpellCheckerClientImpl.h" | 64 #include "web/SpellCheckerClientImpl.h" |
65 #include "web/StorageClientImpl.h" | 65 #include "web/StorageClientImpl.h" |
66 #include "web/TextCheckerClientImpl.h" | |
67 #include "web/WebExport.h" | 66 #include "web/WebExport.h" |
68 #include "wtf/Compiler.h" | 67 #include "wtf/Compiler.h" |
69 #include "wtf/HashSet.h" | 68 #include "wtf/HashSet.h" |
70 #include "wtf/RefCounted.h" | 69 #include "wtf/RefCounted.h" |
71 #include "wtf/Vector.h" | 70 #include "wtf/Vector.h" |
72 | 71 |
73 namespace blink { | 72 namespace blink { |
74 | 73 |
75 class BrowserControls; | 74 class BrowserControls; |
76 class CompositorAnimationHost; | 75 class CompositorAnimationHost; |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 | 614 |
616 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) | 615 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) |
617 WebSpellCheckClient* m_spellCheckClient; | 616 WebSpellCheckClient* m_spellCheckClient; |
618 | 617 |
619 // TODO(xiaochengh): Move this pointer to WebLocalFrameImpl. | 618 // TODO(xiaochengh): Move this pointer to WebLocalFrameImpl. |
620 WebTextCheckClient* m_textCheckClient; | 619 WebTextCheckClient* m_textCheckClient; |
621 | 620 |
622 Persistent<ChromeClientImpl> m_chromeClientImpl; | 621 Persistent<ChromeClientImpl> m_chromeClientImpl; |
623 ContextMenuClientImpl m_contextMenuClientImpl; | 622 ContextMenuClientImpl m_contextMenuClientImpl; |
624 EditorClientImpl m_editorClientImpl; | 623 EditorClientImpl m_editorClientImpl; |
625 TextCheckerClientImpl m_textCheckerClientImpl; | |
626 SpellCheckerClientImpl m_spellCheckerClientImpl; | 624 SpellCheckerClientImpl m_spellCheckerClientImpl; |
627 StorageClientImpl m_storageClientImpl; | 625 StorageClientImpl m_storageClientImpl; |
628 | 626 |
629 WebSize m_size; | 627 WebSize m_size; |
630 // If true, automatically resize the layout view around its content. | 628 // If true, automatically resize the layout view around its content. |
631 bool m_shouldAutoResize; | 629 bool m_shouldAutoResize; |
632 // The lower bound on the size when auto-resizing. | 630 // The lower bound on the size when auto-resizing. |
633 IntSize m_minAutoSize; | 631 IntSize m_minAutoSize; |
634 // The upper bound on the size when auto-resizing. | 632 // The upper bound on the size when auto-resizing. |
635 IntSize m_maxAutoSize; | 633 IntSize m_maxAutoSize; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 755 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
758 }; | 756 }; |
759 | 757 |
760 // We have no ways to check if the specified WebView is an instance of | 758 // We have no ways to check if the specified WebView is an instance of |
761 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 759 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
763 | 761 |
764 } // namespace blink | 762 } // namespace blink |
765 | 763 |
766 #endif | 764 #endif |
OLD | NEW |