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

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

Issue 2910223003: [refactor] - Rename and Move WebWidget::CaretOrSelectionRange to WebInputMethodController::GetSelec… (Closed)
Patch Set: Fixed some comments 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) 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 float page_scale_delta, 96 float page_scale_delta,
97 float browser_controls_delta) override; 97 float browser_controls_delta) override;
98 void MouseCaptureLost() override; 98 void MouseCaptureLost() override;
99 void SetFocus(bool enable) override; 99 void SetFocus(bool enable) override;
100 WebRange CompositionRange() override; 100 WebRange CompositionRange() override;
101 WebColor BackgroundColor() const override; 101 WebColor BackgroundColor() const override;
102 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; 102 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override;
103 bool SelectionTextDirection(WebTextDirection& start, 103 bool SelectionTextDirection(WebTextDirection& start,
104 WebTextDirection& end) const override; 104 WebTextDirection& end) const override;
105 bool IsSelectionAnchorFirst() const override; 105 bool IsSelectionAnchorFirst() const override;
106 WebRange CaretOrSelectionRange() override;
107 void SetTextDirection(WebTextDirection) override; 106 void SetTextDirection(WebTextDirection) override;
108 bool IsAcceleratedCompositingActive() const override; 107 bool IsAcceleratedCompositingActive() const override;
109 void WillCloseLayerTreeView() override; 108 void WillCloseLayerTreeView() override;
110 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 109 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
111 void SetRemoteViewportIntersection(const WebRect&) override; 110 void SetRemoteViewportIntersection(const WebRect&) override;
112 111
113 // WebFrameWidget implementation. 112 // WebFrameWidget implementation.
114 WebLocalFrameBase* LocalRoot() const override { return local_root_; } 113 WebLocalFrameBase* LocalRoot() const override { return local_root_; }
115 void SetVisibilityState(WebPageVisibilityState) override; 114 void SetVisibilityState(WebPageVisibilityState) override;
116 void SetBackgroundColorOverride(WebColor) override; 115 void SetBackgroundColorOverride(WebColor) override;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 236
238 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 237 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
239 WebFrameWidgetBase, 238 WebFrameWidgetBase,
240 widget, 239 widget,
241 widget->ForSubframe(), 240 widget->ForSubframe(),
242 widget.ForSubframe()); 241 widget.ForSubframe());
243 242
244 } // namespace blink 243 } // namespace blink
245 244
246 #endif 245 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698