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

Side by Side Diff: chrome/browser/ui/panels/panel_host.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
« no previous file with comments | « chrome/browser/ui/panels/panel_collection.h ('k') | chrome/browser/ui/panels/panel_manager.h » ('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) 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/panels/panel_host.h" 5 #include "chrome/browser/ui/panels/panel_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
(...skipping 13 matching lines...) Expand all
24 #include "content/public/browser/notification_source.h" 24 #include "content/public/browser/notification_source.h"
25 #include "content/public/browser/notification_types.h" 25 #include "content/public/browser/notification_types.h"
26 #include "content/public/browser/render_view_host.h" 26 #include "content/public/browser/render_view_host.h"
27 #include "content/public/browser/site_instance.h" 27 #include "content/public/browser/site_instance.h"
28 #include "content/public/browser/user_metrics.h" 28 #include "content/public/browser/user_metrics.h"
29 #include "content/public/browser/web_contents.h" 29 #include "content/public/browser/web_contents.h"
30 #include "extensions/browser/view_type_utils.h" 30 #include "extensions/browser/view_type_utils.h"
31 #include "extensions/common/extension_messages.h" 31 #include "extensions/common/extension_messages.h"
32 #include "ipc/ipc_message.h" 32 #include "ipc/ipc_message.h"
33 #include "ipc/ipc_message_macros.h" 33 #include "ipc/ipc_message_macros.h"
34 #include "ui/gfx/geometry/rect.h"
34 #include "ui/gfx/image/image.h" 35 #include "ui/gfx/image/image.h"
35 #include "ui/gfx/rect.h"
36 36
37 using base::UserMetricsAction; 37 using base::UserMetricsAction;
38 38
39 PanelHost::PanelHost(Panel* panel, Profile* profile) 39 PanelHost::PanelHost(Panel* panel, Profile* profile)
40 : panel_(panel), 40 : panel_(panel),
41 profile_(profile), 41 profile_(profile),
42 extension_function_dispatcher_(profile, this), 42 extension_function_dispatcher_(profile, this),
43 weak_factory_(this) { 43 weak_factory_(this) {
44 } 44 }
45 45
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 264 }
265 265
266 void PanelHost::StopLoading() { 266 void PanelHost::StopLoading() {
267 content::RecordAction(UserMetricsAction("Stop")); 267 content::RecordAction(UserMetricsAction("Stop"));
268 web_contents_->Stop(); 268 web_contents_->Stop();
269 } 269 }
270 270
271 void PanelHost::Zoom(content::PageZoom zoom) { 271 void PanelHost::Zoom(content::PageZoom zoom) {
272 chrome_page_zoom::Zoom(web_contents_.get(), zoom); 272 chrome_page_zoom::Zoom(web_contents_.get(), zoom);
273 } 273 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_collection.h ('k') | chrome/browser/ui/panels/panel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698