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

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

Issue 251543003: Unified Gesture Recognizer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows linking Created 6 years, 7 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 | Annotate | Revision Log
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 <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 #endif // defined(OS_ANDROID) 140 #endif // defined(OS_ANDROID)
141 141
142 #if defined(OS_WIN) 142 #if defined(OS_WIN)
143 virtual void SetParentNativeViewAccessible( 143 virtual void SetParentNativeViewAccessible(
144 gfx::NativeViewAccessible accessible_parent) OVERRIDE; 144 gfx::NativeViewAccessible accessible_parent) OVERRIDE;
145 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; 145 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE;
146 #endif 146 #endif
147 147
148 // Overridden from ui::GestureEventHelper. 148 // Overridden from ui::GestureEventHelper.
149 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; 149 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE;
150 virtual void DispatchPostponedGestureEvent(ui::GestureEvent* event) OVERRIDE; 150 virtual void DispatchGestureEvent(ui::GestureEvent* event) OVERRIDE;
151 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; 151 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE;
152 152
153 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 153 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
154 154
155 protected: 155 protected:
156 friend class RenderWidgetHostView; 156 friend class RenderWidgetHostView;
157 157
158 private: 158 private:
159 // Destroys this view without calling |Destroy| on |platform_view_|. 159 // Destroys this view without calling |Destroy| on |platform_view_|.
160 void DestroyGuestView(); 160 void DestroyGuestView();
(...skipping 14 matching lines...) Expand all
175 RenderWidgetHostViewPort* platform_view_; 175 RenderWidgetHostViewPort* platform_view_;
176 #if defined(USE_AURA) 176 #if defined(USE_AURA)
177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
178 #endif 178 #endif
179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
180 }; 180 };
181 181
182 } // namespace content 182 } // namespace content
183 183
184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698