Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 22356 by danielrh: Abstraction Problem in
RenderViewHostManager::Delegate
http://code.google.com/p/chromium/issues/detail?id=22356
Chrome Version : Chromium 4.0.212.0 (Developer Build 26068)
WebKit 532.0
V8 1.3.11.1
User Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.0
(KHTML, like Gecko) Chrome/4.0.212.0 Safari/532.0
URLs (if applicable) : N/A
What steps will reproduce the problem?
1. External application attempts to implement the
RenderViewHostManager::Delegate interface and does not wish to depend on
GTK or OS-dependent GUI interfaces
What is the expected result?
I want to be able to implement a clas that implements the following
Interfaces
public RenderViewHostManager::Delegate,
public RenderViewHostDelegate,
public RenderViewHostDelegate::Resource,
public RenderViewHostDelegate::View
without being required to return a TabContents or TabContentsView
using the RendererHost interface (blue) as in
http://dev.chromium.org/developers/design-documents/displaying-a-web-page-
in-chrome
What happens instead?
I am required to return a NavigationController which is required to return
TabContents and TabContentsView in a number of places in the code instead
of accessing it through *ForRenderManager *FromRenderManager functions
I have a patch to resolve the issue that I will submit for code review.
Attachments:
get_controller_for_render_manager_abstraction.patch 6.9 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---