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

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

Issue 2751503002: Revert of Add a window property to associate RWHVA with its child AX tree ID (Closed)
Patch Set: Created 3 years, 9 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 13 matching lines...) Expand all
24 #include "content/browser/renderer_host/event_with_latency_info.h" 24 #include "content/browser/renderer_host/event_with_latency_info.h"
25 #include "content/common/content_export.h" 25 #include "content/common/content_export.h"
26 #include "content/common/input/input_event_ack_state.h" 26 #include "content/common/input/input_event_ack_state.h"
27 #include "content/public/browser/render_widget_host_view.h" 27 #include "content/public/browser/render_widget_host_view.h"
28 #include "content/public/common/screen_info.h" 28 #include "content/public/common/screen_info.h"
29 #include "ipc/ipc_listener.h" 29 #include "ipc/ipc_listener.h"
30 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h" 30 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h"
31 #include "third_party/WebKit/public/web/WebPopupType.h" 31 #include "third_party/WebKit/public/web/WebPopupType.h"
32 #include "third_party/WebKit/public/web/WebTextDirection.h" 32 #include "third_party/WebKit/public/web/WebTextDirection.h"
33 #include "third_party/skia/include/core/SkImageInfo.h" 33 #include "third_party/skia/include/core/SkImageInfo.h"
34 #include "ui/accessibility/ax_tree_id_registry.h"
35 #include "ui/base/ime/text_input_mode.h" 34 #include "ui/base/ime/text_input_mode.h"
36 #include "ui/base/ime/text_input_type.h" 35 #include "ui/base/ime/text_input_type.h"
37 #include "ui/display/display.h" 36 #include "ui/display/display.h"
38 #include "ui/gfx/geometry/rect.h" 37 #include "ui/gfx/geometry/rect.h"
39 #include "ui/gfx/native_widget_types.h" 38 #include "ui/gfx/native_widget_types.h"
40 #include "ui/gfx/range/range.h" 39 #include "ui/gfx/range/range.h"
41 #include "ui/surface/transport_dib.h" 40 #include "ui/surface/transport_dib.h"
42 41
43 class SkBitmap; 42 class SkBitmap;
44 43
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // If |for_root_frame| is true, creates a BrowserAccessibilityManager 203 // If |for_root_frame| is true, creates a BrowserAccessibilityManager
205 // suitable for the root frame, which may be linked to its native 204 // suitable for the root frame, which may be linked to its native
206 // window container. 205 // window container.
207 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 206 virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
208 BrowserAccessibilityDelegate* delegate, bool for_root_frame); 207 BrowserAccessibilityDelegate* delegate, bool for_root_frame);
209 208
210 virtual void AccessibilityShowMenu(const gfx::Point& point); 209 virtual void AccessibilityShowMenu(const gfx::Point& point);
211 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds); 210 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds);
212 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget(); 211 virtual gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget();
213 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible(); 212 virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible();
214 virtual void SetMainFrameAXTreeID(ui::AXTreeIDRegistry::AXTreeID id) {} 213
215 // Informs that the focused DOM node has changed. 214 // Informs that the focused DOM node has changed.
216 virtual void FocusedNodeChanged(bool is_editable_node, 215 virtual void FocusedNodeChanged(bool is_editable_node,
217 const gfx::Rect& node_bounds_in_screen) {} 216 const gfx::Rect& node_bounds_in_screen) {}
218 217
219 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 218 virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
220 cc::CompositorFrame frame) {} 219 cc::CompositorFrame frame) {}
221 220
222 // This method exists to allow removing of displayed graphics, after a new 221 // This method exists to allow removing of displayed graphics, after a new
223 // page has been loaded, to prevent the displayed URL from being out of sync 222 // page has been loaded, to prevent the displayed URL from being out of sync
224 // with what is visible on screen. 223 // with what is visible on screen.
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 454 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
456 455
457 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 456 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
458 457
459 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 458 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
460 }; 459 };
461 460
462 } // namespace content 461 } // namespace content
463 462
464 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 463 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698