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

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

Issue 2029423003: OOPIF IME: Renderer Side Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using focusedCoreFrame() instead of focusController().focusedFrame() in WebViewImpl Created 4 years, 5 months 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
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end) const override; 150 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end) const override;
151 bool isSelectionAnchorFirst() const override; 151 bool isSelectionAnchorFirst() const override;
152 bool caretOrSelectionRange(size_t* location, size_t* length) override; 152 bool caretOrSelectionRange(size_t* location, size_t* length) override;
153 void setTextDirection(WebTextDirection) override; 153 void setTextDirection(WebTextDirection) override;
154 bool isAcceleratedCompositingActive() const override; 154 bool isAcceleratedCompositingActive() const override;
155 void willCloseLayerTreeView() override; 155 void willCloseLayerTreeView() override;
156 void didAcquirePointerLock() override; 156 void didAcquirePointerLock() override;
157 void didNotAcquirePointerLock() override; 157 void didNotAcquirePointerLock() override;
158 void didLosePointerLock() override; 158 void didLosePointerLock() override;
159 void didChangeWindowResizerRect() override; 159 void didChangeWindowResizerRect() override;
160 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
161 void applyReplacementRange(int start, int length) override;
160 162
161 // WebView methods: 163 // WebView methods:
162 virtual bool isWebView() const { return true; } 164 virtual bool isWebView() const { return true; }
163 void setMainFrame(WebFrame*) override; 165 void setMainFrame(WebFrame*) override;
164 void setCredentialManagerClient(WebCredentialManagerClient*) override; 166 void setCredentialManagerClient(WebCredentialManagerClient*) override;
165 void setPrerendererClient(WebPrerendererClient*) override; 167 void setPrerendererClient(WebPrerendererClient*) override;
166 void setSpellCheckClient(WebSpellCheckClient*) override; 168 void setSpellCheckClient(WebSpellCheckClient*) override;
167 WebSettings* settings() override; 169 WebSettings* settings() override;
168 WebString pageEncoding() const override; 170 WebString pageEncoding() const override;
169 void setPageEncoding(const WebString&) override; 171 void setPageEncoding(const WebString&) override;
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 615
614 void cancelPagePopup(); 616 void cancelPagePopup();
615 void updatePageOverlays(); 617 void updatePageOverlays();
616 618
617 float deviceScaleFactor() const; 619 float deviceScaleFactor() const;
618 620
619 void setRootGraphicsLayer(GraphicsLayer*); 621 void setRootGraphicsLayer(GraphicsLayer*);
620 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*); 622 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*);
621 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*); 623 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*);
622 624
625 LocalFrame* focusedLocalFrameInWidget() const;
626 LocalFrame* focusedLocalFrameAvailableForIme() const;
627
623 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) 628 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.)
624 WebSpellCheckClient* m_spellCheckClient; 629 WebSpellCheckClient* m_spellCheckClient;
625 630
626 Persistent<ChromeClientImpl> m_chromeClientImpl; 631 Persistent<ChromeClientImpl> m_chromeClientImpl;
627 ContextMenuClientImpl m_contextMenuClientImpl; 632 ContextMenuClientImpl m_contextMenuClientImpl;
628 EditorClientImpl m_editorClientImpl; 633 EditorClientImpl m_editorClientImpl;
629 SpellCheckerClientImpl m_spellCheckerClientImpl; 634 SpellCheckerClientImpl m_spellCheckerClientImpl;
630 StorageClientImpl m_storageClientImpl; 635 StorageClientImpl m_storageClientImpl;
631 636
632 WebSize m_size; 637 WebSize m_size;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 bool m_overrideCompositorVisibility; 773 bool m_overrideCompositorVisibility;
769 }; 774 };
770 775
771 // We have no ways to check if the specified WebView is an instance of 776 // We have no ways to check if the specified WebView is an instance of
772 // WebViewImpl because WebViewImpl is the only implementation of WebView. 777 // WebViewImpl because WebViewImpl is the only implementation of WebView.
773 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
774 779
775 } // namespace blink 780 } // namespace blink
776 781
777 #endif 782 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698