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

Issue 10534079: Add support for managing active state of platform apps (Closed)

Created:
8 years, 6 months ago by DaveMoore
Modified:
8 years, 6 months ago
CC:
chromium-reviews, jennb, sadrul, ben+watch_chromium.org, jeremya+watch_chromium.org, Dmitry Titov, dcheng, Aaron Boodman, mihaip-chromium-reviews_chromium.org, jianli, Andrei
Visibility:
Public.

Description

Add support for managing active state of platform apps BUG=131878 TEST=Existing and new LauncherPlatformAppBrowserTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141457

Patch Set 1 #

Patch Set 2 : Added const for other platforms #

Patch Set 3 : Cleanup #

Patch Set 4 : remove observer from activation client #

Patch Set 5 : Rebase #

Patch Set 6 : Try fails #

Patch Set 7 : Override const GetNativeWindow() in test #

Patch Set 8 : Use new launch_2 test platform app #

Total comments: 13

Patch Set 9 : Address review issues #

Patch Set 10 : Removed redundant GetNativeWindow() decl in BrowserWindow #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -39 lines) Patch
M ash/shell.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/base_window.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.cc View 1 2 3 4 4 chunks +11 lines, -6 lines 2 comments Download
M chrome/browser/ui/gtk/extensions/shell_window_gtk.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/gtk/extensions/shell_window_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h View 1 2 3 4 5 6 7 8 5 chunks +28 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 5 6 7 8 4 chunks +62 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/ash/launcher/launcher_platform_app_browsertest.cc View 1 2 3 4 5 6 7 5 chunks +50 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/ash/panel_view_aura.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/panel_view_aura.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/shell_window_views.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/shell_window_views.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
DaveMoore
8 years, 6 months ago (2012-06-09 00:14:49 UTC) #1
dimich
Is there a design doc or anything describing what is being implemented? Just curious. The ...
8 years, 6 months ago (2012-06-09 00:53:17 UTC) #2
DaveMoore
On 2012/06/09 00:53:17, dimich wrote: > Is there a design doc or anything describing what ...
8 years, 6 months ago (2012-06-09 15:54:20 UTC) #3
DaveMoore
8 years, 6 months ago (2012-06-11 17:00:23 UTC) #4
sky
http://codereview.chromium.org/10534079/diff/10003/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/10534079/diff/10003/ash/shell.cc#newcode661 ash/shell.cc:661: aura::client::SetActivationClient(root_window, NULL); You're moving this because you want the ...
8 years, 6 months ago (2012-06-11 17:47:38 UTC) #5
DaveMoore
http://codereview.chromium.org/10534079/diff/10003/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/10534079/diff/10003/ash/shell.cc#newcode661 ash/shell.cc:661: aura::client::SetActivationClient(root_window, NULL); On 2012/06/11 17:47:39, sky wrote: > You're ...
8 years, 6 months ago (2012-06-11 18:13:40 UTC) #6
sky
Remove GetNativeWindow from BrowserWindow and LGTM
8 years, 6 months ago (2012-06-11 19:10:41 UTC) #7
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10534079/diff/8014/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): http://codereview.chromium.org/10534079/diff/8014/chrome/browser/ui/extensions/shell_window.cc#newcode109 chrome/browser/ui/extensions/shell_window.cc:109: void ShellWindow::OnNativeClose() { Not sure I understand the rationale ...
8 years, 6 months ago (2012-06-13 20:10:13 UTC) #8
DaveMoore
http://codereview.chromium.org/10534079/diff/8014/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): http://codereview.chromium.org/10534079/diff/8014/chrome/browser/ui/extensions/shell_window.cc#newcode109 chrome/browser/ui/extensions/shell_window.cc:109: void ShellWindow::OnNativeClose() { The reason is that if you ...
8 years, 6 months ago (2012-06-13 20:20:27 UTC) #9
Mihai Parparita -not on Chrome
8 years, 6 months ago (2012-06-13 20:25:56 UTC) #10
On Wed, Jun 13, 2012 at 1:20 PM, <davemoore@chromium.org> wrote:
>
> The reason is that if you call RemoveShellWindow from the destructor you
> will only have access to ShellWindow's state, and not that of the
> subclasses. The fact that it's not called from ShellWindowGtk is an
> oversite.


Makes sense. I can fix ShellWindowGtk (I'm editing that file anyway).

Mihai

Powered by Google App Engine
This is Rietveld 408576698