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 7850026: Aura under Linux (Closed)

Created:
9 years, 3 months ago by Emmanuel Saint-loubert-Bié
Modified:
9 years, 3 months ago
CC:
chromium-reviews, dpranke+watch-content_chromium.org, jam, Erik does not do reviews, Paweł Hajdan Jr., kkania, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org, dhollowa, Daniel Erat, DaveMoore
Visibility:
Public.

Description

Aura under Linux is enabled with: 'use_aura': 1, BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101704

Patch Set 1 #

Patch Set 2 : Fixced merge issues #

Patch Set 3 : Another merge. #

Patch Set 4 : Remove space #

Patch Set 5 : Still a few linking errors to resolve. #

Total comments: 1

Patch Set 6 : About 6 link errors left #

Patch Set 7 : First version that links (and crashes) #

Total comments: 22

Patch Set 8 : reworked gyp file #

Patch Set 9 : Fixes for Touch build #

Patch Set 10 : Adding desktop flag automatically on Linux #

Patch Set 11 : Resest on Linux Aura #

Patch Set 12 : Applied Ben comments. #

Patch Set 13 : Fix for Windows builds #

Patch Set 14 : Merge #

Patch Set 15 : More of Ben pattern fo ifdef USE_AURA #

Patch Set 16 : Removed more gtk utils code #

Patch Set 17 : Merge conflict resolved #

Total comments: 4

Patch Set 18 : Fixes Win build errors #

Patch Set 19 : Correct merge for accelerators. #

Patch Set 20 : Applied Sadrul's 1 out of 2 comment. #

Patch Set 21 : Fix for Win build #

Patch Set 22 : Mispelled Windows define. #

Patch Set 23 : . #

Patch Set 24 : remerged with latest screensaver change. #

Patch Set 25 : Merge #

Patch Set 26 : Fixed missing GTK init. #

Patch Set 27 : White spaces #

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats (+552 lines, -208 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/automation/ui_controls_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/background/background_mode_manager_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_folder_editor_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_posix.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/frame/bubble_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/frame/bubble_window_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +3 lines, -1 line 2 comments Download
M chrome/browser/chromeos/frame/panel_browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +10 lines, -0 lines 2 comments Download
M chrome/browser/chromeos/frame/panel_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +5 lines, -1 line 2 comments Download
M chrome/browser/chromeos/login/background_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +5 lines, -0 lines 2 comments Download
M chrome/browser/chromeos/login/helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -0 lines 2 comments Download
M chrome/browser/chromeos/login/message_bubble.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/message_bubble.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/setting_level_bubble.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/first_run/first_run_aura.cc View 1 2 3 4 5 2 chunks +49 lines, -32 lines 0 comments Download
M chrome/browser/process_singleton.h View 1 1 chunk +2 lines, -0 lines 2 comments Download
M chrome/browser/process_singleton_aura.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 2 comments Download
M chrome/browser/renderer_host/render_widget_host_view_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +112 lines, -2 lines 0 comments Download
D chrome/browser/renderer_host/render_widget_host_view_views_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -94 lines 0 comments Download
M chrome/browser/renderer_preferences_util.cc View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/screensaver_window_finder_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +4 lines, -0 lines 2 comments Download
M chrome/browser/themes/theme_service.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/theme_service_factory.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/ssl_client_certificate_selector.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 2 comments Download
M chrome/browser/ui/login/login_prompt_ui.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/tabs/dock_info_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/aura/aura_init.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/bubble/bubble.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/constrained_html_delegate_views.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/notifications/balloon_view_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/select_file_dialog.cc View 1 2 3 4 6 chunks +16 lines, -2 lines 1 comment Download
M chrome/browser/ui/views/simple_message_box_views.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/simple_message_box_views.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/stubs_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +72 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_views.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +51 lines, -6 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +5 lines, -0 lines 1 comment Download
M content/browser/gpu/gpu_process_host.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 6 chunks +8 lines, -8 lines 0 comments Download
M content/browser/plugin_process_host.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 1 comment Download
M content/browser/renderer_host/render_message_filter_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 1 comment Download
M content/browser/renderer_host/render_widget_host.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/content_message_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -0 lines 0 comments Download
M content/plugin/plugin_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/render_widget_fullscreen_pepper.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M views/controls/link.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M views/controls/resize_area.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M views/controls/single_split_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M views/controls/textfield/native_textfield_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M views/events/event.h View 1 chunk +1 line, -1 line 0 comments Download
M views/focus/accelerator_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -1 line 0 comments Download
M views/focus/accelerator_handler_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +5 lines, -1 line 0 comments Download
M webkit/glue/webcursor_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Emmanuel Saint-loubert-Bié
This is not in review, just FYI. Just synced'up with Ben latest use_aura changed in ...
9 years, 3 months ago (2011-09-14 21:46:37 UTC) #1
Emmanuel Saint-loubert-Bié
I am down to the last few link errors, but not done. There is a ...
9 years, 3 months ago (2011-09-15 02:10:25 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/7850026/diff/12001/chrome/browser/ui/gtk/gtk_util.cc File chrome/browser/ui/gtk/gtk_util.cc (right): http://codereview.chromium.org/7850026/diff/12001/chrome/browser/ui/gtk/gtk_util.cc#newcode193 chrome/browser/ui/gtk/gtk_util.cc:193: // TODO(saintlou): This entire module should be removed from ...
9 years, 3 months ago (2011-09-16 01:11:18 UTC) #3
Emmanuel Saint-loubert-Bié
Hi All, This builds "on my machine" for Linux with/without use_aura, with/without touch_ui. We will ...
9 years, 3 months ago (2011-09-16 02:34:54 UTC) #4
Ben Goodger (Google)
http://codereview.chromium.org/7850026/diff/12001/chrome/browser/ui/views/bubble/bubble.cc File chrome/browser/ui/views/bubble/bubble.cc (right): http://codereview.chromium.org/7850026/diff/12001/chrome/browser/ui/views/bubble/bubble.cc#newcode114 chrome/browser/ui/views/bubble/bubble.cc:114: (void)opacity; Huh. OK. http://codereview.chromium.org/7850026/diff/12001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): http://codereview.chromium.org/7850026/diff/12001/chrome/chrome_browser.gypi#newcode4885 chrome/chrome_browser.gypi:4885: ...
9 years, 3 months ago (2011-09-16 14:46:55 UTC) #5
Emmanuel Saint-loubert-Bié
Hi Ben, Regarding: > http://codereview.chromium.org/7850026/diff/12001/ui/ui.gyp#newcode305 > ui/ui.gyp:305: ['include', 'gfx/gtk_util.cc'], > Can you let me know ...
9 years, 3 months ago (2011-09-16 17:32:23 UTC) #6
Ben Goodger (Google)
On Fri, Sep 16, 2011 at 10:32 AM, Emmanuel Saint-loubert < saintlou@chromium.org> wrote: > Hi ...
9 years, 3 months ago (2011-09-16 17:49:02 UTC) #7
Emmanuel Saint-loubert-Bié
9 years, 3 months ago (2011-09-16 18:42:58 UTC) #8
Emmanuel Saint-loubert-Bié
Ben I addressed the gtk_utils issues. PTAL. -- E
9 years, 3 months ago (2011-09-16 18:43:34 UTC) #9
Ben Goodger (Google)
LGTM
9 years, 3 months ago (2011-09-16 19:59:26 UTC) #10
sadrul
LGTM http://codereview.chromium.org/7850026/diff/14104/chrome/browser/renderer_preferences_util.cc File chrome/browser/renderer_preferences_util.cc (right): http://codereview.chromium.org/7850026/diff/14104/chrome/browser/renderer_preferences_util.cc#newcode22 chrome/browser/renderer_preferences_util.cc:22: #if !defined(OS_CHROMEOS) && !defined(USE_AURA) This change isn't necessary? ...
9 years, 3 months ago (2011-09-16 21:11:57 UTC) #11
Emmanuel Saint-loubert-Bié
Thanks all. I am planning to land this Sunday or Monday first thing. -- Emmanuel ...
9 years, 3 months ago (2011-09-16 22:55:01 UTC) #12
commit-bot: I haz the power
Presubmit check for 7850026-22073 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 3 months ago (2011-09-18 17:25:06 UTC) #13
oshima
Sorry for late review. Can you address them in follow up CL? http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/frame/bubble_window_views.cc File chrome/browser/chromeos/frame/bubble_window_views.cc ...
9 years, 3 months ago (2011-09-19 15:52:38 UTC) #14
oshima
forgot to comment on this. http://codereview.chromium.org/7850026/diff/24001/chrome/browser/renderer_host/render_widget_host_view_views.h File chrome/browser/renderer_host/render_widget_host_view_views.h (right): http://codereview.chromium.org/7850026/diff/24001/chrome/browser/renderer_host/render_widget_host_view_views.h#newcode94 chrome/browser/renderer_host/render_widget_host_view_views.h:94: virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results) ...
9 years, 3 months ago (2011-09-19 15:55:48 UTC) #15
Emmanuel Saint-loubert-Bié
Yes the CL landed yesterday. I will do a follow up CL, no pb. BTW ...
9 years, 3 months ago (2011-09-19 16:05:17 UTC) #16
Emmanuel Saint-loubert-Bié
9 years, 3 months ago (2011-09-19 20:15:36 UTC) #17
All of Oshima's comments addressed in http://codereview.chromium.org/7945014

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/fra...
File chrome/browser/chromeos/frame/bubble_window_views.cc (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/fra...
chrome/browser/chromeos/frame/bubble_window_views.cc:23: // TODO(saintlou): Once
Views are truly pure the code below needs to be
On 2011/09/19 15:52:39, oshima wrote:
> indent

Done.

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/fra...
File chrome/browser/chromeos/frame/panel_browser_view.cc (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/fra...
chrome/browser/chromeos/frame/panel_browser_view.cc:37: // TODO(saintlou): Need
PureViews panels?
On 2011/09/19 15:52:39, oshima wrote:
> On chromeos, this will be controlled by WM so this may not be necessary.

Done.

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/fra...
File chrome/browser/chromeos/frame/panel_controller.cc (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/fra...
chrome/browser/chromeos/frame/panel_controller.cc:183: // TODO(saintlou): Need
PureView for panels.
On 2011/09/19 15:52:39, oshima wrote:
> You can just skip gtk/WM stuff for now. The result should be replaced by aura
WM
> API.

Done.

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/log...
File chrome/browser/chromeos/login/background_view.cc (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/background_view.cc:133: // TODO(saintlou):
On 2011/09/19 15:52:39, oshima wrote:
> I believe this will be gone

Done.

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/log...
File chrome/browser/chromeos/login/helper.cc (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/helper.cc:85: // TODO(saintlou): Is this still in
use with the new WebUI anyway?
On 2011/09/19 15:52:39, oshima wrote:
> this will be gone.

Done.

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/process_sing...
File chrome/browser/process_singleton.h (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/process_sing...
chrome/browser/process_singleton.h:170: class LinuxWatcher;
On 2011/09/19 15:52:39, oshima wrote:
> Why this has to be removed? TODO would be nice.

Done.

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/renderer_hos...
File chrome/browser/renderer_host/render_widget_host_view_views.h (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/renderer_hos...
chrome/browser/renderer_host/render_widget_host_view_views.h:94: virtual void
GetDefaultScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
No it did not pass Clang. I had to fix that with a subsequent query. Should I
remove this method altogether?

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/screensaver_...
File chrome/browser/screensaver_window_finder_linux.cc (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/screensaver_...
chrome/browser/screensaver_window_finder_linux.cc:20: #if defined(USE_AURA)
On 2011/09/19 15:52:39, oshima wrote:
> I think this file should not be linked with aura.

Done.

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/ui/gtk/ssl_c...
File chrome/browser/ui/gtk/ssl_client_certificate_selector.cc (right):

http://codereview.chromium.org/7850026/diff/24001/chrome/browser/ui/gtk/ssl_c...
chrome/browser/ui/gtk/ssl_client_certificate_selector.cc:350: // TODO(saintlou):
need to port to Views.
Yes it is on rbyers list.

Powered by Google App Engine
This is Rietveld 408576698