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

Side by Side Diff: chrome/browser/gtk/extension_popup_gtk.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gtk/edit_search_engine_dialog.cc ('k') | chrome/browser/gtk/find_bar_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/gtk/extension_popup_gtk.h" 5 #include "chrome/browser/gtk/extension_popup_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/browser_window.h" 11 #include "chrome/browser/browser_window.h"
12 #include "chrome/browser/debugger/devtools_manager.h" 12 #include "chrome/browser/debugger/devtools_manager.h"
13 #include "chrome/browser/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/extensions/extension_host.h" 14 #include "chrome/browser/extensions/extension_host.h"
15 #include "chrome/browser/extensions/extension_process_manager.h" 15 #include "chrome/browser/extensions/extension_process_manager.h"
16 #include "chrome/browser/gtk/gtk_theme_provider.h" 16 #include "chrome/browser/gtk/gtk_theme_provider.h"
17 #include "chrome/browser/renderer_host/render_view_host.h" 17 #include "chrome/browser/renderer_host/render_view_host.h"
18 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" 18 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h"
19 #include "chrome/browser/ui/browser.h" 19 #include "chrome/browser/ui/browser.h"
20 #include "chrome/common/notification_service.h" 20 #include "chrome/common/notification_service.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 22
23 ExtensionPopupGtk* ExtensionPopupGtk::current_extension_popup_ = NULL; 23 ExtensionPopupGtk* ExtensionPopupGtk::current_extension_popup_ = NULL;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 return; 161 return;
162 162
163 ExtensionHost* host = manager->CreatePopup(url, browser); 163 ExtensionHost* host = manager->CreatePopup(url, browser);
164 // This object will delete itself when the info bubble is closed. 164 // This object will delete itself when the info bubble is closed.
165 new ExtensionPopupGtk(browser, host, anchor, inspect); 165 new ExtensionPopupGtk(browser, host, anchor, inspect);
166 } 166 }
167 167
168 gfx::Rect ExtensionPopupGtk::GetViewBounds() { 168 gfx::Rect ExtensionPopupGtk::GetViewBounds() {
169 return gfx::Rect(host_->view()->native_view()->allocation); 169 return gfx::Rect(host_->view()->native_view()->allocation);
170 } 170 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/edit_search_engine_dialog.cc ('k') | chrome/browser/gtk/find_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698