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

Side by Side Diff: Source/web/WebPluginContainerImpl.cpp

Issue 102963005: Add supportsInputMethod() interface for WebPlugin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: setComposition/confirmComposition 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 return true; 582 return true;
583 } 583 }
584 return false; 584 return false;
585 } 585 }
586 586
587 bool WebPluginContainerImpl::supportsKeyboardFocus() const 587 bool WebPluginContainerImpl::supportsKeyboardFocus() const
588 { 588 {
589 return m_webPlugin->supportsKeyboardFocus(); 589 return m_webPlugin->supportsKeyboardFocus();
590 } 590 }
591 591
592 bool WebPluginContainerImpl::supportsInputMethod() const
593 {
594 return m_webPlugin->supportsInputMethod();
595 }
596
592 bool WebPluginContainerImpl::canProcessDrag() const 597 bool WebPluginContainerImpl::canProcessDrag() const
593 { 598 {
594 return m_webPlugin->canProcessDrag(); 599 return m_webPlugin->canProcessDrag();
595 } 600 }
596 601
597 bool WebPluginContainerImpl::wantsWheelEvents() 602 bool WebPluginContainerImpl::wantsWheelEvents()
598 { 603 {
599 return m_wantsWheelEvents; 604 return m_wantsWheelEvents;
600 } 605 }
601 606
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 // Take our element and get the clip rect from the enclosing layer and 896 // Take our element and get the clip rect from the enclosing layer and
892 // frame view. 897 // frame view.
893 clipRect.intersect( 898 clipRect.intersect(
894 m_element->document().view()->windowClipRectForFrameOwner(m_element, true)); 899 m_element->document().view()->windowClipRectForFrameOwner(m_element, true));
895 } 900 }
896 901
897 return clipRect; 902 return clipRect;
898 } 903 }
899 904
900 } // namespace blink 905 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698