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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 2164483006: [MacViews] Implemented text context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ditto Created 4 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 bool LockMouse() override; 105 bool LockMouse() override;
106 void UnlockMouse() override; 106 void UnlockMouse() override;
107 void GetScreenInfo(blink::WebScreenInfo* results) override; 107 void GetScreenInfo(blink::WebScreenInfo* results) override;
108 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 108 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
109 109
110 #if defined(OS_MACOSX) 110 #if defined(OS_MACOSX)
111 // RenderWidgetHostView implementation. 111 // RenderWidgetHostView implementation.
112 void SetActive(bool active) override; 112 void SetActive(bool active) override;
113 void ShowDefinitionForSelection() override; 113 void ShowDefinitionForSelection() override;
114 bool SupportsSpeech() const override;
115 void SpeakSelection() override; 114 void SpeakSelection() override;
116 bool IsSpeaking() const override;
117 void StopSpeaking() override;
118 #endif // defined(OS_MACOSX) 115 #endif // defined(OS_MACOSX)
119 116
120 void LockCompositingSurface() override; 117 void LockCompositingSurface() override;
121 void UnlockCompositingSurface() override; 118 void UnlockCompositingSurface() override;
122 119
123 void WheelEventAck(const blink::WebMouseWheelEvent& event, 120 void WheelEventAck(const blink::WebMouseWheelEvent& event,
124 InputEventAckState ack_result) override; 121 InputEventAckState ack_result) override;
125 122
126 void GestureEventAck(const blink::WebGestureEvent& event, 123 void GestureEventAck(const blink::WebGestureEvent& event,
127 InputEventAckState ack_result) override; 124 InputEventAckState ack_result) override;
(...skipping 15 matching lines...) Expand all
143 // The platform view for this RenderWidgetHostView. 140 // The platform view for this RenderWidgetHostView.
144 // RenderWidgetHostViewGuest mostly only cares about stuff related to 141 // RenderWidgetHostViewGuest mostly only cares about stuff related to
145 // compositing, the rest are directly forwarded to this |platform_view_|. 142 // compositing, the rest are directly forwarded to this |platform_view_|.
146 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; 143 base::WeakPtr<RenderWidgetHostViewBase> platform_view_;
147 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 144 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
148 }; 145 };
149 146
150 } // namespace content 147 } // namespace content
151 148
152 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 149 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698