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

Issue 247193002: Remove touch layout (Closed)

Created:
6 years, 8 months ago by oshima
Modified:
6 years, 8 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, tfarina, jam, darin-cc_chromium.org, oshima+watch_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove touch layout Re removed touch resources, but didn't remove the code that changes the layout. This CL removed all touch layouts. BUG=362633 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266305

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -669 lines) Patch
M chrome/app/theme/theme_resources.grd View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 2 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/bubble_icon_view.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/content_setting_image_view.cc View 1 4 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_decoration_view.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_layout.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 4 chunks +3 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 12 chunks +14 lines, -42 lines 1 comment Download
M chrome/browser/ui/views/location_bar/location_icon_view.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_view.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
D chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h View 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc View 1 chunk +0 lines, -120 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 13 chunks +24 lines, -120 lines 3 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 24 chunks +35 lines, -141 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_button.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 6 chunks +6 lines, -17 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/zygote_host/zygote_host_impl_linux.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/layout.h View 1 chunk +0 lines, -15 lines 0 comments Download
M ui/base/layout.cc View 2 chunks +0 lines, -35 lines 0 comments Download
M ui/base/ui_base_switches.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/base/ui_base_switches.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M ui/views/controls/menu/menu_config.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
oshima
girard@, can you take a first look? https://codereview.chromium.org/247193002/diff/40001/ui/base/layout.cc File ui/base/layout.cc (left): https://codereview.chromium.org/247193002/diff/40001/ui/base/layout.cc#oldcode60 ui/base/layout.cc:60: return base::win::IsMetroProcess() ...
6 years, 8 months ago (2014-04-22 20:22:33 UTC) #1
girard
I'm not sure if we use touch layout anymore... at least, I didn't think we ...
6 years, 8 months ago (2014-04-22 20:29:29 UTC) #2
girard
LGTM
6 years, 8 months ago (2014-04-22 20:35:33 UTC) #3
oshima
https://codereview.chromium.org/247193002/diff/40001/ui/base/layout.cc File ui/base/layout.cc (left): https://codereview.chromium.org/247193002/diff/40001/ui/base/layout.cc#oldcode60 ui/base/layout.cc:60: return base::win::IsMetroProcess() && ui::IsTouchDevicePresent(); On 2014/04/22 20:29:30, girard wrote: ...
6 years, 8 months ago (2014-04-22 20:51:59 UTC) #4
ananta
On 2014/04/22 20:51:59, oshima wrote: > https://codereview.chromium.org/247193002/diff/40001/ui/base/layout.cc > File ui/base/layout.cc (left): > > https://codereview.chromium.org/247193002/diff/40001/ui/base/layout.cc#oldcode60 > ...
6 years, 8 months ago (2014-04-23 02:06:51 UTC) #5
oshima
Touch optimized UI has been deprecated long time ago, assets hasn't been updated for long ...
6 years, 8 months ago (2014-04-23 02:06:55 UTC) #6
oshima
On 2014/04/23 02:06:55, oshima wrote: > Touch optimized UI has been deprecated long time ago, ...
6 years, 8 months ago (2014-04-24 00:50:13 UTC) #7
oshima
On 2014/04/24 00:50:13, oshima wrote: > On 2014/04/23 02:06:55, oshima wrote: > > Touch optimized ...
6 years, 8 months ago (2014-04-24 01:40:46 UTC) #8
sky
I suspect you can nuke a bunch of includes of layout.h now too. https://codereview.chromium.org/247193002/diff/60001/chrome/browser/ui/views/frame/browser_view.cc File ...
6 years, 8 months ago (2014-04-24 03:29:01 UTC) #9
cpu_(ooo_6.6-7.5)
the grd changes can be TBR
6 years, 8 months ago (2014-04-24 03:38:21 UTC) #10
girard
On 2014/04/24 00:50:13, oshima wrote: > On 2014/04/23 02:06:55, oshima wrote: > > Touch optimized ...
6 years, 8 months ago (2014-04-24 12:58:25 UTC) #11
oshima
On 2014/04/24 12:58:25, girard wrote: > On 2014/04/24 00:50:13, oshima wrote: > > On 2014/04/23 ...
6 years, 8 months ago (2014-04-24 13:52:39 UTC) #12
sky
I believe you are right. That code only works in the viewer side, which none ...
6 years, 8 months ago (2014-04-24 16:23:34 UTC) #13
oshima
PTAL https://codereview.chromium.org/247193002/diff/60001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/247193002/diff/60001/chrome/browser/ui/views/frame/browser_view.cc#newcode558 chrome/browser/ui/views/frame/browser_view.cc:558: int BrowserView::GetOTRIconResourceID() const { On 2014/04/24 03:29:02, sky ...
6 years, 8 months ago (2014-04-25 14:16:25 UTC) #14
sky
LGTM
6 years, 8 months ago (2014-04-25 14:22:15 UTC) #15
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 8 months ago (2014-04-25 14:28:59 UTC) #16
oshima
The CQ bit was unchecked by oshima@chromium.org
6 years, 8 months ago (2014-04-25 21:00:14 UTC) #17
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 8 months ago (2014-04-25 21:00:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/247193002/100001
6 years, 8 months ago (2014-04-25 22:02:57 UTC) #19
commit-bot: I haz the power
Change committed as 266305
6 years, 8 months ago (2014-04-26 00:39:48 UTC) #20
Dan Beam
https://codereview.chromium.org/247193002/diff/100001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/247193002/diff/100001/chrome/browser/ui/views/tabs/tab.cc#newcode67 chrome/browser/ui/views/tabs/tab.cc:67: const int kTabIconSize = gfx::kFaviconSize; ^ this added a ...
6 years, 8 months ago (2014-04-26 03:43:32 UTC) #21
oshima
https://codereview.chromium.org/247193002/diff/100001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/247193002/diff/100001/chrome/browser/ui/views/tabs/tab.cc#newcode67 chrome/browser/ui/views/tabs/tab.cc:67: const int kTabIconSize = gfx::kFaviconSize; On 2014/04/26 03:43:32, Dan ...
6 years, 8 months ago (2014-04-26 03:52:56 UTC) #22
Dan Beam
6 years, 8 months ago (2014-04-26 03:56:08 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/247193002/diff/100001/chrome/browser/ui/views...
File chrome/browser/ui/views/tabs/tab.cc (right):

https://codereview.chromium.org/247193002/diff/100001/chrome/browser/ui/views...
chrome/browser/ui/views/tabs/tab.cc:67: const int kTabIconSize =
gfx::kFaviconSize;
On 2014/04/26 03:43:32, Dan Beam wrote:
> ^ this added a static initializer, but I have no idea why...

this isn't great but it'll keep the rev landed and fix the tree:
https://codereview.chromium.org/259953002

Powered by Google App Engine
This is Rietveld 408576698