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

Issue 331323008: app-shell: Introduce a ShellRendererMainDelegate. (Closed)

Created:
6 years, 6 months ago by sadrul
Modified:
6 years, 6 months ago
Reviewers:
James Cook, oshima
CC:
chromium-reviews, tfarina, chromium-apps-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

app-shell: Introduce a ShellRendererMainDelegate. It may be necessary to create custom filters/observers etc. on the renderer side in athena (e.g., for virtual keyboard support). So allow athena to install a delegate to be created in the renderer process. The delegate is notified when the RenderThread is initialized, or when new RenderViews are created. BUG=380215 R=jamescook@chromium.org, oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277922

Patch Set 1 #

Total comments: 8

Patch Set 2 : . #

Patch Set 3 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -3 lines) Patch
M apps/shell/app/shell_main_delegate.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M apps/shell/app/shell_main_delegate.cc View 1 3 chunks +8 lines, -1 line 0 comments Download
M apps/shell/app_shell.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M apps/shell/renderer/shell_content_renderer_client.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M apps/shell/renderer/shell_content_renderer_client.cc View 1 4 chunks +9 lines, -1 line 0 comments Download
A apps/shell/renderer/shell_renderer_main_delegate.h View 1 1 chunk +30 lines, -0 lines 0 comments Download
M athena/main/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M athena/main/athena_main.cc View 1 2 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sadrul
6 years, 6 months ago (2014-06-17 06:26:29 UTC) #1
oshima
lgtm if james is ok with this. Note: We may eventually need to run inside ...
6 years, 6 months ago (2014-06-17 16:18:38 UTC) #2
James Cook
I'm OK with the overall approach but see comments. https://codereview.chromium.org/331323008/diff/1/apps/shell/app/shell_main_delegate.h File apps/shell/app/shell_main_delegate.h (right): https://codereview.chromium.org/331323008/diff/1/apps/shell/app/shell_main_delegate.h#newcode39 apps/shell/app/shell_main_delegate.h:39: ...
6 years, 6 months ago (2014-06-17 17:40:23 UTC) #3
sadrul
https://codereview.chromium.org/331323008/diff/1/apps/shell/app/shell_main_delegate.h File apps/shell/app/shell_main_delegate.h (right): https://codereview.chromium.org/331323008/diff/1/apps/shell/app/shell_main_delegate.h#newcode39 apps/shell/app/shell_main_delegate.h:39: virtual ShellRendererMainDelegate* CreateShellRendererMainDelegate(); On 2014/06/17 17:40:22, James Cook wrote: ...
6 years, 6 months ago (2014-06-17 20:37:39 UTC) #4
James Cook
lgtm
6 years, 6 months ago (2014-06-17 21:37:28 UTC) #5
sadrul
6 years, 6 months ago (2014-06-18 00:24:17 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r277922 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698