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

Side by Side Diff: third_party/WebKit/Source/core/frame/WebFrameWidgetImpl.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 float page_scale_delta, 94 float page_scale_delta,
95 float browser_controls_delta) override; 95 float browser_controls_delta) override;
96 void MouseCaptureLost() override; 96 void MouseCaptureLost() override;
97 void SetFocus(bool enable) override; 97 void SetFocus(bool enable) override;
98 WebRange CompositionRange() override; 98 WebRange CompositionRange() override;
99 WebColor BackgroundColor() const override; 99 WebColor BackgroundColor() const override;
100 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; 100 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override;
101 bool SelectionTextDirection(WebTextDirection& start, 101 bool SelectionTextDirection(WebTextDirection& start,
102 WebTextDirection& end) const override; 102 WebTextDirection& end) const override;
103 bool IsSelectionAnchorFirst() const override; 103 bool IsSelectionAnchorFirst() const override;
104 WebRange CaretOrSelectionRange() override;
105 void SetTextDirection(WebTextDirection) override; 104 void SetTextDirection(WebTextDirection) override;
106 bool IsAcceleratedCompositingActive() const override; 105 bool IsAcceleratedCompositingActive() const override;
107 void WillCloseLayerTreeView() override; 106 void WillCloseLayerTreeView() override;
108 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 107 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
109 void SetRemoteViewportIntersection(const WebRect&) override; 108 void SetRemoteViewportIntersection(const WebRect&) override;
110 void SetIsInert(bool) override; 109 void SetIsInert(bool) override;
111 110
112 // WebFrameWidget implementation. 111 // WebFrameWidget implementation.
113 WebLocalFrameBase* LocalRoot() const override { return local_root_; } 112 WebLocalFrameBase* LocalRoot() const override { return local_root_; }
114 void SetVisibilityState(WebPageVisibilityState) override; 113 void SetVisibilityState(WebPageVisibilityState) override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 235
237 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 236 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
238 WebFrameWidgetBase, 237 WebFrameWidgetBase,
239 widget, 238 widget,
240 widget->ForSubframe(), 239 widget->ForSubframe(),
241 widget.ForSubframe()); 240 widget.ForSubframe());
242 241
243 } // namespace blink 242 } // namespace blink
244 243
245 #endif 244 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebViewTest.cpp ('k') | third_party/WebKit/Source/core/frame/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698