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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 415633002: Simplify access to LegacyRenderWidgetHostHWND. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render_frame_ax_4
Patch Set: Rebase and fix style issue Created 6 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Return true if frame subscription is supported on this platform. 147 // Return true if frame subscription is supported on this platform.
148 virtual bool CanSubscribeFrame() const; 148 virtual bool CanSubscribeFrame() const;
149 149
150 // Create a BrowserAccessibilityManager for this view. 150 // Create a BrowserAccessibilityManager for this view.
151 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 151 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
152 BrowserAccessibilityDelegate* delegate); 152 BrowserAccessibilityDelegate* delegate);
153 153
154 virtual void AccessibilityShowMenu(const gfx::Point& point); 154 virtual void AccessibilityShowMenu(const gfx::Point& point);
155 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); 155 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds);
156 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget();
157 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible();
156 158
157 virtual SkColorType PreferredReadbackFormat(); 159 virtual SkColorType PreferredReadbackFormat();
158 160
159 // Informs that the focused DOM node has changed. 161 // Informs that the focused DOM node has changed.
160 virtual void FocusedNodeChanged(bool is_editable_node) {} 162 virtual void FocusedNodeChanged(bool is_editable_node) {}
161 163
162 virtual void OnSwapCompositorFrame(uint32 output_surface_id, 164 virtual void OnSwapCompositorFrame(uint32 output_surface_id,
163 scoped_ptr<cc::CompositorFrame> frame) {} 165 scoped_ptr<cc::CompositorFrame> frame) {}
164 166
165 // Because the associated remote WebKit instance can asynchronously 167 // Because the associated remote WebKit instance can asynchronously
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 uint32 renderer_frame_number_; 427 uint32 renderer_frame_number_;
426 428
427 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 429 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
428 430
429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
430 }; 432 };
431 433
432 } // namespace content 434 } // namespace content
433 435
434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698