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

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

Issue 2910223003: [refactor] - Rename and Move WebWidget::CaretOrSelectionRange to WebInputMethodController::GetSelec… (Closed)
Patch Set: Rebase Created 3 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool has_scrolled_by_touch) override; 139 bool has_scrolled_by_touch) override;
140 void MouseCaptureLost() override; 140 void MouseCaptureLost() override;
141 void SetFocus(bool enable) override; 141 void SetFocus(bool enable) override;
142 WebRange CompositionRange() override; 142 WebRange CompositionRange() override;
143 WebColor BackgroundColor() const override; 143 WebColor BackgroundColor() const override;
144 WebPagePopupImpl* GetPagePopup() const override; 144 WebPagePopupImpl* GetPagePopup() const override;
145 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; 145 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override;
146 bool SelectionTextDirection(WebTextDirection& start, 146 bool SelectionTextDirection(WebTextDirection& start,
147 WebTextDirection& end) const override; 147 WebTextDirection& end) const override;
148 bool IsSelectionAnchorFirst() const override; 148 bool IsSelectionAnchorFirst() const override;
149 WebRange CaretOrSelectionRange() override;
150 void SetTextDirection(WebTextDirection) override; 149 void SetTextDirection(WebTextDirection) override;
151 bool IsAcceleratedCompositingActive() const override; 150 bool IsAcceleratedCompositingActive() const override;
152 void WillCloseLayerTreeView() override; 151 void WillCloseLayerTreeView() override;
153 void DidAcquirePointerLock() override; 152 void DidAcquirePointerLock() override;
154 void DidNotAcquirePointerLock() override; 153 void DidNotAcquirePointerLock() override;
155 void DidLosePointerLock() override; 154 void DidLosePointerLock() override;
156 void ShowContextMenu(WebMenuSourceType) override; 155 void ShowContextMenu(WebMenuSourceType) override;
157 156
158 // WebView methods: 157 // WebView methods:
159 virtual bool IsWebView() const { return true; } 158 virtual bool IsWebView() const { return true; }
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 730 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
732 }; 731 };
733 732
734 // We have no ways to check if the specified WebView is an instance of 733 // We have no ways to check if the specified WebView is an instance of
735 // WebViewImpl because WebViewImpl is the only implementation of WebView. 734 // WebViewImpl because WebViewImpl is the only implementation of WebView.
736 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
737 736
738 } // namespace blink 737 } // namespace blink
739 738
740 #endif 739 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/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