Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: Source/web/WebViewImpl.h

Issue 102963005: Add supportsInputMethod() interface for WebPlugin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add comments. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 class WebDocument; 102 class WebDocument;
103 class WebFrameImpl; 103 class WebFrameImpl;
104 class WebGestureEvent; 104 class WebGestureEvent;
105 class WebHelperPluginImpl; 105 class WebHelperPluginImpl;
106 class WebImage; 106 class WebImage;
107 class WebKeyboardEvent; 107 class WebKeyboardEvent;
108 class WebLayerTreeView; 108 class WebLayerTreeView;
109 class WebMouseEvent; 109 class WebMouseEvent;
110 class WebMouseWheelEvent; 110 class WebMouseWheelEvent;
111 class WebPagePopupImpl; 111 class WebPagePopupImpl;
112 class WebPlugin;
112 class WebPrerendererClient; 113 class WebPrerendererClient;
113 class WebSettingsImpl; 114 class WebSettingsImpl;
114 class WebTouchEvent; 115 class WebTouchEvent;
115 class WorkerGlobalScopeProxyProviderImpl; 116 class WorkerGlobalScopeProxyProviderImpl;
116 class FullscreenController; 117 class FullscreenController;
117 118
118 class WebViewImpl : public WebView 119 class WebViewImpl : public WebView
119 , public RefCounted<WebViewImpl> 120 , public RefCounted<WebViewImpl>
120 , public WebGestureCurveTarget 121 , public WebGestureCurveTarget
121 , public WebCore::PagePopupDriver 122 , public WebCore::PagePopupDriver
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 virtual void handleMouseDown(WebCore::Frame&, const WebMouseEvent&) OVERRIDE ; 637 virtual void handleMouseDown(WebCore::Frame&, const WebMouseEvent&) OVERRIDE ;
637 virtual void handleMouseUp(WebCore::Frame&, const WebMouseEvent&) OVERRIDE; 638 virtual void handleMouseUp(WebCore::Frame&, const WebMouseEvent&) OVERRIDE;
638 virtual bool handleMouseWheel(WebCore::Frame&, const WebMouseWheelEvent&) OV ERRIDE; 639 virtual bool handleMouseWheel(WebCore::Frame&, const WebMouseWheelEvent&) OV ERRIDE;
639 virtual bool handleGestureEvent(const WebGestureEvent&) OVERRIDE; 640 virtual bool handleGestureEvent(const WebGestureEvent&) OVERRIDE;
640 virtual bool handleKeyEvent(const WebKeyboardEvent&) OVERRIDE; 641 virtual bool handleKeyEvent(const WebKeyboardEvent&) OVERRIDE;
641 virtual bool handleCharEvent(const WebKeyboardEvent&) OVERRIDE; 642 virtual bool handleCharEvent(const WebKeyboardEvent&) OVERRIDE;
642 643
643 void closePendingHelperPlugins(WebCore::Timer<WebViewImpl>*); 644 void closePendingHelperPlugins(WebCore::Timer<WebViewImpl>*);
644 645
645 WebCore::InputMethodContext* inputMethodContext(); 646 WebCore::InputMethodContext* inputMethodContext();
647 WebPlugin* focusedPluginIfInputMethodSupported(WebCore::Frame*);
646 648
647 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) 649 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.)
648 WebAutofillClient* m_autofillClient; 650 WebAutofillClient* m_autofillClient;
649 WebPermissionClient* m_permissionClient; 651 WebPermissionClient* m_permissionClient;
650 WebSpellCheckClient* m_spellCheckClient; 652 WebSpellCheckClient* m_spellCheckClient;
651 WebPasswordGeneratorClient* m_passwordGeneratorClient; 653 WebPasswordGeneratorClient* m_passwordGeneratorClient;
652 654
653 ChromeClientImpl m_chromeClientImpl; 655 ChromeClientImpl m_chromeClientImpl;
654 ContextMenuClientImpl m_contextMenuClientImpl; 656 ContextMenuClientImpl m_contextMenuClientImpl;
655 DragClientImpl m_dragClientImpl; 657 DragClientImpl m_dragClientImpl;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 inline WebViewImpl* toWebViewImpl(WebView* webView) 830 inline WebViewImpl* toWebViewImpl(WebView* webView)
829 { 831 {
830 // We have no ways to check if the specified WebView is an instance of 832 // We have no ways to check if the specified WebView is an instance of
831 // WebViewImpl because WebViewImpl is the only implementation of WebView. 833 // WebViewImpl because WebViewImpl is the only implementation of WebView.
832 return static_cast<WebViewImpl*>(webView); 834 return static_cast<WebViewImpl*>(webView);
833 } 835 }
834 836
835 } // namespace blink 837 } // namespace blink
836 838
837 #endif 839 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698