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

Issue 8068020: Converts usage of GetBrowserViewForNativeWindow to (Closed)

Created:
9 years, 2 months ago by sky
Modified:
9 years, 2 months ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, Erik does not do reviews, yoshiki+watch_chromium.org, mihaip+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, Aaron Boodman, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, Paweł Hajdan Jr., ctguil+watch_chromium.org, zork+watch_chromium.org
Visibility:
Public.

Description

Converts usage of GetBrowserViewForNativeWindow to GetBrowserViewForBrowser. There is one place still using GetBrowserViewForNativeWindow and that's the tab dragging code which needs to use it. BUG=none TEST=none R=asargent, pinkerton, erg, pkasting, ben Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103514

Patch Set 1 #

Patch Set 2 : Tweaks #

Total comments: 2

Patch Set 3 : Incorporate review feedback, and make ShowPageInfo platform specific #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -145 lines) Patch
M chrome/browser/accessibility/browser_views_accessibility_browsertest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/browser_focus_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_infobar_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_infobar_delegate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_input_api.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/page_info_window.h View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
M chrome/browser/speech/speech_input_bubble_views.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 2 chunks +1 line, -1 line 0 comments Download
A + chrome/browser/ui/cocoa/page_info_window.h View 1 2 2 chunks +4 lines, -4 lines 1 comment Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/page_info_bubble_gtk.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A + chrome/browser/ui/gtk/page_info_window.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_button.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/browser_bubble.h View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/browser_bubble.cc View 1 chunk +8 lines, -23 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup.h View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup.cc View 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 4 chunks +11 lines, -31 lines 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/infobars/extension_infobar.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/infobars/extension_infobar.cc View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/page_info_bubble_view.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
A + chrome/browser/ui/views/page_info_window.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/tabs/dragged_tab_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/dragged_tab_controller.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 4 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
sky
I touched a lot of files as I converted ShowPageInfoBubble from taking a NativeWindow to ...
9 years, 2 months ago (2011-09-29 03:44:35 UTC) #1
asargent_no_longer_on_chrome
extensions parts LGTM
9 years, 2 months ago (2011-09-29 16:46:04 UTC) #2
Elliot Glaysher
gtk lgtm
9 years, 2 months ago (2011-09-29 17:34:28 UTC) #3
Peter Kasting
Infobars LGTM http://codereview.chromium.org/8068020/diff/2001/chrome/browser/extensions/extension_infobar_delegate.h File chrome/browser/extensions/extension_infobar_delegate.h (right): http://codereview.chromium.org/8068020/diff/2001/chrome/browser/extensions/extension_infobar_delegate.h#newcode47 chrome/browser/extensions/extension_infobar_delegate.h:47: Browser* browser() { return browser_; } Nit: ...
9 years, 2 months ago (2011-09-29 17:39:19 UTC) #4
sky
I've incorporated feedback and made page_info_window platform specific as suggested by Ben.
9 years, 2 months ago (2011-09-29 21:51:20 UTC) #5
pink (ping after 24hrs)
Cocoa LGTM, one larger design question that's probably beyond the scope of this CL. http://codereview.chromium.org/8068020/diff/6002/chrome/browser/ui/cocoa/page_info_window.h ...
9 years, 2 months ago (2011-09-29 21:56:38 UTC) #6
sky
On Thu, Sep 29, 2011 at 2:56 PM, <pinkerton@chromium.org> wrote: > Cocoa LGTM, one larger ...
9 years, 2 months ago (2011-09-29 22:09:18 UTC) #7
Ben Goodger (Google)
9 years, 2 months ago (2011-09-30 16:52:59 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698