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

Issue 12217120: Add IsInternal property to gfx::Display (Closed)

Created:
7 years, 10 months ago by ynovikov
Modified:
7 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, sadrul, ben+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add IsInternal property to gfx::Display Move knowledge whether a display is internal or not from ash::DisplayManager into gfx::Display. BUG=171310 TEST=ash_unittests, ui_unittests, unit_tests pass Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182494 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183230

Patch Set 1 #

Total comments: 12

Patch Set 2 : Review #

Total comments: 6

Patch Set 3 : Nits + Rebase #

Total comments: 2

Patch Set 4 : Get rid of static initializer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -29 lines) Patch
M ash/display/display_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_manager.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M ash/display/display_manager.cc View 1 2 3 6 chunks +11 lines, -10 lines 0 comments Download
M ash/display/event_transformation_handler.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M ash/system/chromeos/tray_display.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/system_info_display/display_info_provider_chromeos.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/gfx/display.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/display.cc View 1 2 3 2 chunks +23 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
ynovikov
This is a pre-requisite for https://codereview.chromium.org/12087124/, as suggested by it's review. I've decided to take ...
7 years, 10 months ago (2013-02-12 15:48:20 UTC) #1
oshima
https://codereview.chromium.org/12217120/diff/1/ash/accelerators/accelerator_controller_unittest.cc File ash/accelerators/accelerator_controller_unittest.cc (right): https://codereview.chromium.org/12217120/diff/1/ash/accelerators/accelerator_controller_unittest.cc#newcode320 ash/accelerators/accelerator_controller_unittest.cc:320: void DisableInternalDisplay() { It's better to reset in AshTestBase::TearDown, ...
7 years, 10 months ago (2013-02-12 17:38:51 UTC) #2
ynovikov
https://codereview.chromium.org/12217120/diff/1/ash/accelerators/accelerator_controller_unittest.cc File ash/accelerators/accelerator_controller_unittest.cc (right): https://codereview.chromium.org/12217120/diff/1/ash/accelerators/accelerator_controller_unittest.cc#newcode320 ash/accelerators/accelerator_controller_unittest.cc:320: void DisableInternalDisplay() { On 2013/02/12 17:38:51, oshima wrote: > ...
7 years, 10 months ago (2013-02-12 21:17:47 UTC) #3
oshima
lgtm with nits https://codereview.chromium.org/12217120/diff/12004/ui/gfx/display.cc File ui/gfx/display.cc (right): https://codereview.chromium.org/12217120/diff/12004/ui/gfx/display.cc#newcode35 ui/gfx/display.cc:35: } // namespace this is nor ...
7 years, 10 months ago (2013-02-12 21:39:53 UTC) #4
ynovikov
oshima, thank you. ben, can you review ash/system/chromeos, ash/test, chrome/browser/extensions/api/system_info_display and chrome/browser/ui/webui/options/chromeos, or should I ...
7 years, 10 months ago (2013-02-13 13:48:36 UTC) #5
Ben Goodger (Google)
yeah lgtm.
7 years, 10 months ago (2013-02-13 22:38:01 UTC) #6
Ben Goodger (Google)
Actually nevermind, I'll take this. On Wed, Feb 13, 2013 at 2:37 PM, Ben Goodger ...
7 years, 10 months ago (2013-02-13 23:01:29 UTC) #7
Ben Goodger (Google)
I think you should find more specific owners. On Wed, Feb 13, 2013 at 5:48 ...
7 years, 10 months ago (2013-02-13 23:04:03 UTC) #8
ynovikov
Thank you. On 2013-02-13 6:03 PM, <ben@chromium.org> wrote: > yeah lgtm. > > https://codereview.chromium.**org/12217120/<https://codereview.chromium.org/12217120/> >
7 years, 10 months ago (2013-02-13 23:13:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ynovikov@chromium.org/12217120/17001
7 years, 10 months ago (2013-02-14 13:58:00 UTC) #10
commit-bot: I haz the power
Change committed as 182494
7 years, 10 months ago (2013-02-14 18:22:44 UTC) #11
oshima
https://chromiumcodereview.appspot.com/12217120/diff/17001/ui/gfx/display.cc File ui/gfx/display.cc (right): https://chromiumcodereview.appspot.com/12217120/diff/17001/ui/gfx/display.cc#newcode35 ui/gfx/display.cc:35: int64 internal_display_id_ = Display::kInvalidDisplayID; Sorry for not catching this. ...
7 years, 10 months ago (2013-02-14 21:01:33 UTC) #12
ynovikov
https://codereview.chromium.org/12217120/diff/17001/ui/gfx/display.cc File ui/gfx/display.cc (right): https://codereview.chromium.org/12217120/diff/17001/ui/gfx/display.cc#newcode35 ui/gfx/display.cc:35: int64 internal_display_id_ = Display::kInvalidDisplayID; On 2013/02/14 21:01:33, oshima wrote: ...
7 years, 10 months ago (2013-02-15 17:42:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ynovikov@chromium.org/12217120/30001
7 years, 10 months ago (2013-02-15 17:43:07 UTC) #14
oshima
On 2013/02/15 17:42:42, ynovikov wrote: > https://codereview.chromium.org/12217120/diff/17001/ui/gfx/display.cc > File ui/gfx/display.cc (right): > > https://codereview.chromium.org/12217120/diff/17001/ui/gfx/display.cc#newcode35 > ...
7 years, 10 months ago (2013-02-15 17:59:07 UTC) #15
ynovikov
On 2013/02/15 17:59:07, oshima wrote: > On 2013/02/15 17:42:42, ynovikov wrote: > > https://codereview.chromium.org/12217120/diff/17001/ui/gfx/display.cc > ...
7 years, 10 months ago (2013-02-15 18:09:32 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-15 18:17:23 UTC) #17
oshima
On 2013/02/15 18:09:32, ynovikov wrote: > On 2013/02/15 17:59:07, oshima wrote: > > On 2013/02/15 ...
7 years, 10 months ago (2013-02-15 18:28:35 UTC) #18
ynovikov
On 2013/02/15 18:28:35, oshima wrote: > On 2013/02/15 18:09:32, ynovikov wrote: > > On 2013/02/15 ...
7 years, 10 months ago (2013-02-15 19:25:02 UTC) #19
oshima
On 2013/02/15 19:25:02, ynovikov wrote: > On 2013/02/15 18:28:35, oshima wrote: > > On 2013/02/15 ...
7 years, 10 months ago (2013-02-15 19:48:41 UTC) #20
ynovikov
On 2013/02/15 19:48:41, oshima wrote: > On 2013/02/15 19:25:02, ynovikov wrote: > > On 2013/02/15 ...
7 years, 10 months ago (2013-02-15 19:52:02 UTC) #21
oshima
On 2013/02/15 19:52:02, ynovikov wrote: > On 2013/02/15 19:48:41, oshima wrote: > > On 2013/02/15 ...
7 years, 10 months ago (2013-02-15 20:18:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ynovikov@chromium.org/12217120/30001
7 years, 10 months ago (2013-02-19 15:10:08 UTC) #23
commit-bot: I haz the power
7 years, 10 months ago (2013-02-19 16:24:15 UTC) #24
Message was sent while issue was closed.
Change committed as 183230

Powered by Google App Engine
This is Rietveld 408576698