OLD | NEW |
---|---|
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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
320 virtual void SetPopupType(blink::WebPopupType popup_type) = 0; | 320 virtual void SetPopupType(blink::WebPopupType popup_type) = 0; |
321 virtual blink::WebPopupType GetPopupType() = 0; | 321 virtual blink::WebPopupType GetPopupType() = 0; |
322 | 322 |
323 // Get the BrowserAccessibilityManager if it exists, may return NULL. | 323 // Get the BrowserAccessibilityManager if it exists, may return NULL. |
324 virtual BrowserAccessibilityManager* | 324 virtual BrowserAccessibilityManager* |
325 GetBrowserAccessibilityManager() const = 0; | 325 GetBrowserAccessibilityManager() const = 0; |
326 // Create a BrowserAccessibilityManager for this view if it's possible to | 326 // Create a BrowserAccessibilityManager for this view if it's possible to |
327 // create one and if one doesn't exist already. Some ports may not create | 327 // create one and if one doesn't exist already. Some ports may not create |
328 // one depending on the current state. | 328 // one depending on the current state. |
329 virtual void CreateBrowserAccessibilityManagerIfNeeded() = 0; | 329 virtual void CreateBrowserAccessibilityManagerIfNeeded() = 0; |
330 | 330 virtual void SetBrowserAccessibilityManager( |
331 BrowserAccessibilityManager* manager) = 0; | |
jam
2014/04/25 21:09:46
this is an internal content class, yet it's being
| |
332 virtual void OnAccessibilitySetFocus(int acc_obj_id) = 0; | |
333 virtual void AccessibilityShowMenu(int acc_obj_id) = 0; | |
334 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) = 0; | |
331 // Return a value that is incremented each time the renderer swaps a new frame | 335 // Return a value that is incremented each time the renderer swaps a new frame |
332 // to the view. | 336 // to the view. |
333 virtual uint32 RendererFrameNumber() = 0; | 337 virtual uint32 RendererFrameNumber() = 0; |
334 // Called each time the RenderWidgetHost receives a new frame for display from | 338 // Called each time the RenderWidgetHost receives a new frame for display from |
335 // the renderer. | 339 // the renderer. |
336 virtual void DidReceiveRendererFrame() = 0; | 340 virtual void DidReceiveRendererFrame() = 0; |
337 | 341 |
338 virtual SkBitmap::Config PreferredReadbackFormat() = 0; | 342 virtual SkBitmap::Config PreferredReadbackFormat() = 0; |
339 | 343 |
340 #if defined(OS_MACOSX) | 344 #if defined(OS_MACOSX) |
(...skipping 16 matching lines...) Expand all Loading... | |
357 | 361 |
358 // Returns an HWND that's given as the parent window for windowless Flash to | 362 // Returns an HWND that's given as the parent window for windowless Flash to |
359 // workaround crbug.com/301548. | 363 // workaround crbug.com/301548. |
360 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; | 364 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; |
361 #endif | 365 #endif |
362 }; | 366 }; |
363 | 367 |
364 } // namespace content | 368 } // namespace content |
365 | 369 |
366 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 370 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |