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

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

Issue 2892393002: Move WebInputMethodControllerImpl to core/exported/ & break dependencies. (Closed)
Patch Set: Rebase. Created 3 years, 6 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 class Frame; 78 class Frame;
79 class FullscreenController; 79 class FullscreenController;
80 class LinkHighlightImpl; 80 class LinkHighlightImpl;
81 class PageOverlay; 81 class PageOverlay;
82 class PageScaleConstraintsSet; 82 class PageScaleConstraintsSet;
83 class PaintLayerCompositor; 83 class PaintLayerCompositor;
84 class UserGestureToken; 84 class UserGestureToken;
85 class WebActiveGestureAnimation; 85 class WebActiveGestureAnimation;
86 class WebDevToolsAgentImpl; 86 class WebDevToolsAgentImpl;
87 class WebElement; 87 class WebElement;
88 class WebInputMethodControllerImpl; 88 class WebInputMethodController;
89 class WebLayerTreeView; 89 class WebLayerTreeView;
90 class WebLocalFrame; 90 class WebLocalFrame;
91 class WebLocalFrameBase; 91 class WebLocalFrameBase;
92 class CompositorMutatorImpl; 92 class CompositorMutatorImpl;
93 class WebRemoteFrame; 93 class WebRemoteFrame;
94 class WebSettingsImpl; 94 class WebSettingsImpl;
95 class WebViewScheduler; 95 class WebViewScheduler;
96 96
97 class WEB_EXPORT WebViewImpl final 97 class WEB_EXPORT WebViewImpl final
98 : NON_EXPORTED_BASE(public WebViewBase), 98 : NON_EXPORTED_BASE(public WebViewBase),
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 } 497 }
498 498
499 class ChromeClient& ChromeClient() const override { 499 class ChromeClient& ChromeClient() const override {
500 return *chrome_client_impl_.Get(); 500 return *chrome_client_impl_.Get();
501 } 501 }
502 502
503 // Returns the currently active WebInputMethodController which is the one 503 // Returns the currently active WebInputMethodController which is the one
504 // corresponding to the focused frame. It will return nullptr if there is no 504 // corresponding to the focused frame. It will return nullptr if there is no
505 // focused frame, or if the there is one but it belongs to a different local 505 // focused frame, or if the there is one but it belongs to a different local
506 // root. 506 // root.
507 WebInputMethodControllerImpl* GetActiveWebInputMethodController() const; 507 WebInputMethodController* GetActiveWebInputMethodController() const;
508 508
509 void SetLastHiddenPagePopup(WebPagePopupImpl* page_popup) override { 509 void SetLastHiddenPagePopup(WebPagePopupImpl* page_popup) override {
510 last_hidden_page_popup_ = page_popup; 510 last_hidden_page_popup_ = page_popup;
511 } 511 }
512 512
513 private: 513 private:
514 void SetPageScaleFactorAndLocation(float, const FloatPoint&); 514 void SetPageScaleFactorAndLocation(float, const FloatPoint&);
515 void PropagateZoomFactorToLocalFrameRoots(Frame*, float); 515 void PropagateZoomFactorToLocalFrameRoots(Frame*, float);
516 516
517 void ScrollAndRescaleViewports(float scale_factor, 517 void ScrollAndRescaleViewports(float scale_factor,
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 743 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
744 }; 744 };
745 745
746 // We have no ways to check if the specified WebView is an instance of 746 // We have no ways to check if the specified WebView is an instance of
747 // WebViewImpl because WebViewImpl is the only implementation of WebView. 747 // WebViewImpl because WebViewImpl is the only implementation of WebView.
748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
749 749
750 } // namespace blink 750 } // namespace blink
751 751
752 #endif 752 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698