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

Issue 171003004: Extract Chrome-specific code from NativeAppWindowViews (Closed)

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

Description

Extract Chrome-specific code from NativeAppWindowViews * Extract Chrome code into ChromeNativeAppWindowViews * Introduce apps/ui/views/native_app_window_view.h/cc * Add stubs to NativeAppWindowViews so it can be used in tests and in app_shell. * Move ShapedAppWindowTargeter to apps/ui/views This is part 1 of 2 CLs to allow app_shell to create a NativeAppWindow and show a Hello world app. BUG=343174 TEST=existing browser_tests, specifically PlatformApp* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252766

Patch Set 1 #

Patch Set 2 : fix win, clang (split_native_app_window) #

Total comments: 3

Patch Set 3 : rebase, rename, move back shaped targetting #

Patch Set 4 : cleanup (split_native_app_window) #

Patch Set 5 : rebase (split_native_app_window) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -1324 lines) Patch
M apps/apps.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A + apps/ui/views/base_native_app_window_views.h View 1 2 3 8 chunks +28 lines, -95 lines 0 comments Download
A + apps/ui/views/base_native_app_window_views.cc View 1 2 3 9 chunks +106 lines, -686 lines 0 comments Download
M chrome/browser/ui/views/apps/native_app_window_views.h View 1 2 3 6 chunks +12 lines, -142 lines 0 comments Download
M chrome/browser/ui/views/apps/native_app_window_views.cc View 1 2 3 4 23 chunks +81 lines, -390 lines 0 comments Download
M chrome/browser/ui/views/apps/native_app_window_views_win.cc View 1 2 2 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
James Cook
benwells, PTAL. I'll send you the part 2 patch shortly. https://codereview.chromium.org/171003004/diff/50001/chrome/browser/ui/views/apps/native_app_window_views.h File chrome/browser/ui/views/apps/native_app_window_views.h (right): https://codereview.chromium.org/171003004/diff/50001/chrome/browser/ui/views/apps/native_app_window_views.h#newcode5 ...
6 years, 10 months ago (2014-02-20 22:41:31 UTC) #1
benwells
this lgtm. Thanks for doing it :) https://codereview.chromium.org/171003004/diff/50001/chrome/browser/ui/views/apps/native_app_window_views.h File chrome/browser/ui/views/apps/native_app_window_views.h (right): https://codereview.chromium.org/171003004/diff/50001/chrome/browser/ui/views/apps/native_app_window_views.h#newcode72 chrome/browser/ui/views/apps/native_app_window_views.h:72: bool ShouldUseChromeStyleFrame() ...
6 years, 10 months ago (2014-02-21 07:12:38 UTC) #2
James Cook
Ben, rebasing on top of the custom-frame-color and easy-reshape-targeter code wasn't trivial -- to make ...
6 years, 10 months ago (2014-02-21 23:50:42 UTC) #3
James Cook
The CQ bit was checked by jamescook@chromium.org
6 years, 10 months ago (2014-02-21 23:51:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/171003004/300001
6 years, 10 months ago (2014-02-21 23:52:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/171003004/300001
6 years, 10 months ago (2014-02-22 01:29:25 UTC) #6
commit-bot: I haz the power
6 years, 10 months ago (2014-02-22 08:00:26 UTC) #7
Message was sent while issue was closed.
Change committed as 252766

Powered by Google App Engine
This is Rietveld 408576698