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

Side by Side Diff: chrome/browser/ui/gtk/extensions/extension_view_gtk.cc

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/gtk/extensions/extension_view_gtk.h" 5 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h"
6 6
7 #include "chrome/browser/extensions/extension_host.h" 7 #include "chrome/browser/extensions/extension_host.h"
8 #include "chrome/browser/ui/gtk/extensions/extension_popup_gtk.h" 8 #include "chrome/browser/ui/gtk/extensions/extension_popup_gtk.h"
9 #include "content/browser/renderer_host/render_view_host.h" 9 #include "content/browser/renderer_host/render_view_host.h"
10 #include "content/browser/renderer_host/render_widget_host_view.h" 10 #include "content/public/browser/render_widget_host_view.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "content/public/browser/web_contents_view.h" 12 #include "content/public/browser/web_contents_view.h"
13 13
14 ExtensionViewGtk::ExtensionViewGtk(ExtensionHost* extension_host, 14 ExtensionViewGtk::ExtensionViewGtk(ExtensionHost* extension_host,
15 Browser* browser) 15 Browser* browser)
16 : browser_(browser), 16 : browser_(browser),
17 extension_host_(extension_host), 17 extension_host_(extension_host),
18 container_(NULL) { 18 container_(NULL) {
19 } 19 }
20 20
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 render_view_host()->view()->SetBackground(pending_background_); 52 render_view_host()->view()->SetBackground(pending_background_);
53 pending_background_.reset(); 53 pending_background_.reset();
54 } 54 }
55 55
56 // Tell the renderer not to draw scrollbars in popups unless the 56 // Tell the renderer not to draw scrollbars in popups unless the
57 // popups are at the maximum allowed size. 57 // popups are at the maximum allowed size.
58 gfx::Size largest_popup_size(ExtensionPopupGtk::kMaxWidth, 58 gfx::Size largest_popup_size(ExtensionPopupGtk::kMaxWidth,
59 ExtensionPopupGtk::kMaxHeight); 59 ExtensionPopupGtk::kMaxHeight);
60 extension_host_->DisableScrollbarsForSmallWindows(largest_popup_size); 60 extension_host_->DisableScrollbarsForSmallWindows(largest_popup_size);
61 } 61 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc ('k') | chrome/browser/ui/gtk/extensions/shell_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698