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

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

Issue 2522353002: Remove the CHECK in RenderWidget::GetInputMethodController (Closed)
Patch Set: Addressing creis@'s comments + Removing unused forward dec. Created 4 years 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool isSelectionAnchorFirst() const override; 109 bool isSelectionAnchorFirst() const override;
110 WebRange caretOrSelectionRange() override; 110 WebRange caretOrSelectionRange() override;
111 void setTextDirection(WebTextDirection) override; 111 void setTextDirection(WebTextDirection) override;
112 bool isAcceleratedCompositingActive() const override; 112 bool isAcceleratedCompositingActive() const override;
113 void willCloseLayerTreeView() override; 113 void willCloseLayerTreeView() override;
114 void didAcquirePointerLock() override; 114 void didAcquirePointerLock() override;
115 void didNotAcquirePointerLock() override; 115 void didNotAcquirePointerLock() override;
116 void didLosePointerLock() override; 116 void didLosePointerLock() override;
117 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 117 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
118 void applyReplacementRange(const WebRange&) override; 118 void applyReplacementRange(const WebRange&) override;
119 WebInputMethodControllerImpl* getActiveWebInputMethodController()
120 const override;
119 121
120 // WebFrameWidget implementation. 122 // WebFrameWidget implementation.
121 WebLocalFrameImpl* localRoot() const override { return m_localRoot; } 123 WebLocalFrameImpl* localRoot() const override { return m_localRoot; }
122 void setVisibilityState(WebPageVisibilityState) override; 124 void setVisibilityState(WebPageVisibilityState) override;
123 bool isTransparent() const override; 125 bool isTransparent() const override;
124 void setIsTransparent(bool) override; 126 void setIsTransparent(bool) override;
125 void setBaseBackgroundColor(WebColor) override; 127 void setBaseBackgroundColor(WebColor) override;
126 WebInputMethodControllerImpl* getActiveWebInputMethodController()
127 const override;
128 128
129 Frame* focusedCoreFrame() const; 129 Frame* focusedCoreFrame() const;
130 130
131 // Returns the currently focused Element or null if no element has focus. 131 // Returns the currently focused Element or null if no element has focus.
132 Element* focusedElement() const; 132 Element* focusedElement() const;
133 133
134 PaintLayerCompositor* compositor() const; 134 PaintLayerCompositor* compositor() const;
135 135
136 // WebFrameWidgetBase overrides: 136 // WebFrameWidgetBase overrides:
137 bool forSubframe() const override { return true; } 137 bool forSubframe() const override { return true; }
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
243 WebFrameWidgetBase, 243 WebFrameWidgetBase,
244 widget, 244 widget,
245 widget->forSubframe(), 245 widget->forSubframe(),
246 widget.forSubframe()); 246 widget.forSubframe());
247 247
248 } // namespace blink 248 } // namespace blink
249 249
250 #endif 250 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698