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

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #ifndef WebViewFrameWidget_h 5 #ifndef WebViewFrameWidget_h
6 #define WebViewFrameWidget_h 6 #define WebViewFrameWidget_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "web/WebFrameWidgetBase.h" 9 #include "web/WebFrameWidgetBase.h"
10 #include "web/WebInputMethodControllerImpl.h" 10 #include "web/WebInputMethodControllerImpl.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; 69 bool selectionBounds(WebRect& anchor, WebRect& focus) const override;
70 bool selectionTextDirection(WebTextDirection& start, 70 bool selectionTextDirection(WebTextDirection& start,
71 WebTextDirection& end) const override; 71 WebTextDirection& end) const override;
72 bool isSelectionAnchorFirst() const override; 72 bool isSelectionAnchorFirst() const override;
73 WebRange caretOrSelectionRange() override; 73 WebRange caretOrSelectionRange() override;
74 void setTextDirection(WebTextDirection) override; 74 void setTextDirection(WebTextDirection) override;
75 bool isAcceleratedCompositingActive() const override; 75 bool isAcceleratedCompositingActive() const override;
76 bool isWebView() const override { return false; } 76 bool isWebView() const override { return false; }
77 bool isPagePopup() const override { return false; } 77 bool isPagePopup() const override { return false; }
78 void willCloseLayerTreeView() override; 78 void willCloseLayerTreeView() override;
79 void didAcquirePointerLock() override;
80 void didNotAcquirePointerLock() override;
81 void didLosePointerLock() override;
82 WebColor backgroundColor() const override; 79 WebColor backgroundColor() const override;
83 WebPagePopup* pagePopup() const override; 80 WebPagePopup* pagePopup() const override;
84 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; 81 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
85 void updateBrowserControlsState(WebBrowserControlsState constraints, 82 void updateBrowserControlsState(WebBrowserControlsState constraints,
86 WebBrowserControlsState current, 83 WebBrowserControlsState current,
87 bool animate) override; 84 bool animate) override;
88 void setVisibilityState(WebPageVisibilityState) override; 85 void setVisibilityState(WebPageVisibilityState) override;
89 bool isTransparent() const override; 86 bool isTransparent() const override;
90 void setIsTransparent(bool) override; 87 void setIsTransparent(bool) override;
91 void setBaseBackgroundColor(WebColor) override; 88 void setBaseBackgroundColor(WebColor) override;
(...skipping 15 matching lines...) Expand all
107 104
108 private: 105 private:
109 WebWidgetClient* m_client; 106 WebWidgetClient* m_client;
110 RefPtr<WebViewImpl> m_webView; 107 RefPtr<WebViewImpl> m_webView;
111 Persistent<WebLocalFrameImpl> m_mainFrame; 108 Persistent<WebLocalFrameImpl> m_mainFrame;
112 }; 109 };
113 110
114 } // namespace blink 111 } // namespace blink
115 112
116 #endif // WebViewFrameWidget_h 113 #endif // WebViewFrameWidget_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698