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

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

Issue 2354413003: Implement support for Mac Zoom following focus and caret (Closed)
Patch Set: Fix typo Created 4 years, 2 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 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // window container. 197 // window container.
198 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 198 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
199 BrowserAccessibilityDelegate* delegate, bool for_root_frame); 199 BrowserAccessibilityDelegate* delegate, bool for_root_frame);
200 200
201 virtual void AccessibilityShowMenu(const gfx::Point& point); 201 virtual void AccessibilityShowMenu(const gfx::Point& point);
202 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); 202 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds);
203 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); 203 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget();
204 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); 204 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible();
205 205
206 // Informs that the focused DOM node has changed. 206 // Informs that the focused DOM node has changed.
207 virtual void FocusedNodeChanged(bool is_editable_node) {} 207 virtual void FocusedNodeChanged(bool is_editable_node,
208 const gfx::Rect& node_bounds_in_screen) {}
208 209
209 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 210 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
210 cc::CompositorFrame frame) {} 211 cc::CompositorFrame frame) {}
211 212
212 // This method exists to allow removing of displayed graphics, after a new 213 // This method exists to allow removing of displayed graphics, after a new
213 // page has been loaded, to prevent the displayed URL from being out of sync 214 // page has been loaded, to prevent the displayed URL from being out of sync
214 // with what is visible on screen. 215 // with what is visible on screen.
215 virtual void ClearCompositorFrame() = 0; 216 virtual void ClearCompositorFrame() = 0;
216 217
217 // Because the associated remote WebKit instance can asynchronously 218 // Because the associated remote WebKit instance can asynchronously
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 481 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
481 482
482 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 483 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
483 484
484 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 485 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
485 }; 486 };
486 487
487 } // namespace content 488 } // namespace content
488 489
489 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 490 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698