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

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

Issue 2696523003: Unify the code paths for handling mouse events when pointer is locked on (Closed)
Patch Set: remove null check Created 3 years, 10 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 WebRange compositionRange() override; 101 WebRange compositionRange() override;
102 WebColor backgroundColor() const override; 102 WebColor backgroundColor() const override;
103 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; 103 bool selectionBounds(WebRect& anchor, WebRect& focus) const override;
104 bool selectionTextDirection(WebTextDirection& start, 104 bool selectionTextDirection(WebTextDirection& start,
105 WebTextDirection& end) const override; 105 WebTextDirection& end) const override;
106 bool isSelectionAnchorFirst() const override; 106 bool isSelectionAnchorFirst() const override;
107 WebRange caretOrSelectionRange() override; 107 WebRange caretOrSelectionRange() override;
108 void setTextDirection(WebTextDirection) override; 108 void setTextDirection(WebTextDirection) override;
109 bool isAcceleratedCompositingActive() const override; 109 bool isAcceleratedCompositingActive() const override;
110 void willCloseLayerTreeView() override; 110 void willCloseLayerTreeView() override;
111 void didAcquirePointerLock() override;
112 void didNotAcquirePointerLock() override;
113 void didLosePointerLock() override;
114 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 111 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
115 void setRemoteViewportIntersection(const WebRect&) override; 112 void setRemoteViewportIntersection(const WebRect&) override;
116 113
117 // WebFrameWidget implementation. 114 // WebFrameWidget implementation.
118 WebLocalFrameImpl* localRoot() const override { return m_localRoot; } 115 WebLocalFrameImpl* localRoot() const override { return m_localRoot; }
119 void setVisibilityState(WebPageVisibilityState) override; 116 void setVisibilityState(WebPageVisibilityState) override;
120 bool isTransparent() const override; 117 bool isTransparent() const override;
121 void setIsTransparent(bool) override; 118 void setIsTransparent(bool) override;
122 void setBaseBackgroundColor(WebColor) override; 119 void setBaseBackgroundColor(WebColor) override;
123 WebInputMethodControllerImpl* getActiveWebInputMethodController() 120 WebInputMethodControllerImpl* getActiveWebInputMethodController()
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 238
242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
243 WebFrameWidgetBase, 240 WebFrameWidgetBase,
244 widget, 241 widget,
245 widget->forSubframe(), 242 widget->forSubframe(),
246 widget.forSubframe()); 243 widget.forSubframe());
247 244
248 } // namespace blink 245 } // namespace blink
249 246
250 #endif 247 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetBase.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698