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

Issue 880703002: Move ImageWindowDelegate to ui/aura_extra (Closed)

Created:
5 years, 11 months ago by mohsen
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, kalyank, mfomitchev, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ImageWindowDelegate to ui/aura_extra In order to be able to use it in places other than content (e.g. handles for unified touch selection controller), ImageWindowDelegate is moved to a new ui module called aura_extra. Also, to make it more useful, ImageWindowDelegate can now be customized by setting background color and image offset. COLLABORATOR=mfomitchev BUG=399721 Committed: https://crrev.com/166a918168791ad0f62ee28862ef520c5d7fbf35 Cr-Commit-Position: refs/heads/master@{#315344}

Patch Set 1 #

Patch Set 2 : Small fixes #

Patch Set 3 : Moved to ui/aura_extra #

Total comments: 18

Patch Set 4 : Addressed review comments #

Patch Set 5 : Removed self-destroy flag #

Total comments: 2

Patch Set 6 : Updated a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -194 lines) Patch
M build/all.gyp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
D content/browser/web_contents/aura/image_window_delegate.h View 1 chunk +0 lines, -61 lines 0 comments Download
D content/browser/web_contents/aura/image_window_delegate.cc View 1 chunk +0 lines, -97 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.h View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A ui/aura_extra/BUILD.gn View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A ui/aura_extra/DEPS View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A ui/aura_extra/aura_extra.gyp View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A ui/aura_extra/aura_extra_export.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A + ui/aura_extra/image_window_delegate.h View 1 2 3 4 5 2 chunks +25 lines, -11 lines 0 comments Download
A + ui/aura_extra/image_window_delegate.cc View 1 2 3 4 4 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
mohsen
sadrul@: Can you please take a look...
5 years, 11 months ago (2015-01-27 15:51:33 UTC) #5
sadrul
https://codereview.chromium.org/880703002/diff/100001/content/DEPS File content/DEPS (right): https://codereview.chromium.org/880703002/diff/100001/content/DEPS#newcode83 content/DEPS:83: "+ui/aura_extra", Move this to content/browser/ https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/BUILD.gn File ui/aura_extra/BUILD.gn (right): ...
5 years, 10 months ago (2015-01-28 18:26:57 UTC) #6
mfomitchev
https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc File ui/aura_extra/image_window_delegate.cc (right): https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc#newcode88 ui/aura_extra/image_window_delegate.cc:88: } If offset is non-zero we should paint the ...
5 years, 10 months ago (2015-01-28 19:15:43 UTC) #8
sadrul
https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc File ui/aura_extra/image_window_delegate.cc (right): https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc#newcode88 ui/aura_extra/image_window_delegate.cc:88: } On 2015/01/28 19:15:42, mfomitchev wrote: > If offset ...
5 years, 10 months ago (2015-01-28 19:28:47 UTC) #9
sadrul
https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc File ui/aura_extra/image_window_delegate.cc (right): https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc#newcode88 ui/aura_extra/image_window_delegate.cc:88: } On 2015/01/28 19:28:47, sadrul wrote: > On 2015/01/28 ...
5 years, 10 months ago (2015-01-28 19:30:04 UTC) #10
mohsen
https://codereview.chromium.org/880703002/diff/100001/content/DEPS File content/DEPS (right): https://codereview.chromium.org/880703002/diff/100001/content/DEPS#newcode83 content/DEPS:83: "+ui/aura_extra", On 2015/01/28 18:26:56, sadrul wrote: > Move this ...
5 years, 10 months ago (2015-01-28 21:10:29 UTC) #11
sadrul
https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc File ui/aura_extra/image_window_delegate.cc (right): https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc#newcode42 ui/aura_extra/image_window_delegate.cc:42: self_destroy_ = self_destroy; On 2015/01/28 21:10:29, mohsen wrote: > ...
5 years, 10 months ago (2015-01-28 21:13:39 UTC) #12
mohsen
https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc File ui/aura_extra/image_window_delegate.cc (right): https://codereview.chromium.org/880703002/diff/100001/ui/aura_extra/image_window_delegate.cc#newcode42 ui/aura_extra/image_window_delegate.cc:42: self_destroy_ = self_destroy; On 2015/01/28 21:13:39, sadrul wrote: > ...
5 years, 10 months ago (2015-01-29 03:23:15 UTC) #13
sadrul
lgtm https://codereview.chromium.org/880703002/diff/140001/ui/aura_extra/image_window_delegate.h File ui/aura_extra/image_window_delegate.h (right): https://codereview.chromium.org/880703002/diff/140001/ui/aura_extra/image_window_delegate.h#newcode67 ui/aura_extra/image_window_delegate.h:67: // white background for the missing regions. *... ...
5 years, 10 months ago (2015-01-30 00:14:43 UTC) #14
mohsen
https://codereview.chromium.org/880703002/diff/140001/ui/aura_extra/image_window_delegate.h File ui/aura_extra/image_window_delegate.h (right): https://codereview.chromium.org/880703002/diff/140001/ui/aura_extra/image_window_delegate.h#newcode67 ui/aura_extra/image_window_delegate.h:67: // white background for the missing regions. On 2015/01/30 ...
5 years, 10 months ago (2015-01-30 05:53:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880703002/160001
5 years, 10 months ago (2015-01-30 15:24:31 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/39442)
5 years, 10 months ago (2015-01-30 15:29:45 UTC) #19
mohsen
jochen@: for OWNERS in build/all.gyp and content/browser/. Can you please take a look?
5 years, 10 months ago (2015-01-30 15:50:45 UTC) #21
jochen (gone - plz use gerrit)
lgtm
5 years, 10 months ago (2015-02-04 11:55:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880703002/160001
5 years, 10 months ago (2015-02-04 17:16:33 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/40389)
5 years, 10 months ago (2015-02-04 17:22:04 UTC) #26
mohsen
reed@google.com: can you please review addition of third_party/skia to ui/aura_extra/DEPS file?
5 years, 10 months ago (2015-02-04 18:21:53 UTC) #28
reed1
aura DEPS adding skia lgtm
5 years, 10 months ago (2015-02-09 18:14:40 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880703002/160001
5 years, 10 months ago (2015-02-09 18:15:43 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:160001)
5 years, 10 months ago (2015-02-09 18:19:23 UTC) #32
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 18:20:13 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/166a918168791ad0f62ee28862ef520c5d7fbf35
Cr-Commit-Position: refs/heads/master@{#315344}

Powered by Google App Engine
This is Rietveld 408576698