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

Issue 1170001: GTK: allow inspecting of extension popups. (Closed)

Created:
10 years, 9 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, rafaelw, tony
Visibility:
Public.

Description

GTK: allow inspecting of extension popups. BUG=24477 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42389

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -87 lines) Patch
M chrome/browser/gtk/bookmark_bubble_gtk.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gtk/browser_actions_toolbar_gtk.cc View 2 4 chunks +32 lines, -20 lines 0 comments Download
M chrome/browser/gtk/content_blocked_bubble_gtk.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gtk/extension_installed_bubble_gtk.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gtk/extension_popup_gtk.h View 1 4 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/gtk/extension_popup_gtk.cc View 1 7 chunks +40 lines, -13 lines 0 comments Download
M chrome/browser/gtk/first_run_bubble.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gtk/info_bubble_gtk.h View 1 4 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/gtk/info_bubble_gtk.cc View 1 6 chunks +60 lines, -40 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/extensions/extension_popup.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Evan Stade
10 years, 9 months ago (2010-03-23 00:03:25 UTC) #1
Daniel Erat
Mostly looks good to me, but adding a few other people (summary: when we're inspecting ...
10 years, 9 months ago (2010-03-23 15:28:55 UTC) #2
Evan Martin
looks good to me too, though I don't fully understand it http://codereview.chromium.org/1170001/diff/1/3 File chrome/browser/gtk/browser_actions_toolbar_gtk.cc (right): ...
10 years, 9 months ago (2010-03-23 15:49:36 UTC) #3
Evan Stade
10 years, 9 months ago (2010-03-23 17:21:59 UTC) #4
http://codereview.chromium.org/1170001/diff/1/8
File chrome/browser/gtk/bookmark_bubble_gtk.cc (right):

http://codereview.chromium.org/1170001/diff/1/8#newcode232
chrome/browser/gtk/bookmark_bubble_gtk.cc:232: true,
On 2010/03/23 15:28:55, Daniel Erat wrote:
> this method is kinda getting out of control; can you add comments after these
> two 'true' params saying what they are?

Done.

http://codereview.chromium.org/1170001/diff/1/3
File chrome/browser/gtk/browser_actions_toolbar_gtk.cc (right):

http://codereview.chromium.org/1170001/diff/1/3#newcode189
chrome/browser/gtk/browser_actions_toolbar_gtk.cc:189: return true;
On 2010/03/23 15:49:36, Evan Martin wrote:
> should this be false?

no, it should be true because to match the current behavior we have to bail out
in this case rather than continue and try to activate the action. I was
struggling with the wording in the comment above to convey this.

http://codereview.chromium.org/1170001/diff/1/4
File chrome/browser/gtk/extension_popup_gtk.h (right):

http://codereview.chromium.org/1170001/diff/1/4#newcode52
chrome/browser/gtk/extension_popup_gtk.h:52: bool being_inspected() {
On 2010/03/23 15:49:36, Evan Martin wrote:
> const modifier on this (?)

Done.

http://codereview.chromium.org/1170001/diff/1/11
File chrome/browser/gtk/info_bubble_gtk.cc (right):

http://codereview.chromium.org/1170001/diff/1/11#newcode112
chrome/browser/gtk/info_bubble_gtk.cc:112: window_ = gtk_window_new(grab_input ?
GTK_WINDOW_POPUP : GTK_WINDOW_TOPLEVEL);
On 2010/03/23 15:28:55, Daniel Erat wrote:
> add a comment noting that the GTK_WINDOW_TOPLEVEL case can cause placement
> issues with various window managers but is necessary in the non-grab case so
> that the window can be focused so it can receive input

Done.

http://codereview.chromium.org/1170001/diff/1/12
File chrome/browser/gtk/info_bubble_gtk.h (right):

http://codereview.chromium.org/1170001/diff/1/12#newcode238
chrome/browser/gtk/info_bubble_gtk.h:238: // extension popups with dev tools.
On 2010/03/23 15:28:55, Daniel Erat wrote:
> Note that this it's not just input to Chrome that it's getting; it's all
> keyboard and mouse input to the X server.

Done.

Powered by Google App Engine
This is Rietveld 408576698