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

Side by Side Diff: chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc

Issue 2723503003: Remove useless includes to ash_util.h (Closed)
Patch Set: remove dependency and fix presubmit warning Created 3 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 5
6 #include "chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h" 6 #include "chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h"
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" 13 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
14 #include "chrome/browser/favicon/favicon_utils.h" 14 #include "chrome/browser/favicon/favicon_utils.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" 16 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h"
17 #include "chrome/browser/ui/ash/ash_util.h"
18 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h" 17 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h"
19 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
20 #include "components/browsing_data/content/storage_partition_http_cache_data_rem over.h" 19 #include "components/browsing_data/content/storage_partition_http_cache_data_rem over.h"
21 #include "components/guest_view/browser/guest_view_event.h" 20 #include "components/guest_view/browser/guest_view_event.h"
22 #include "components/renderer_context_menu/context_menu_delegate.h" 21 #include "components/renderer_context_menu/context_menu_delegate.h"
23 #include "content/public/browser/render_process_host.h" 22 #include "content/public/browser/render_process_host.h"
24 #include "extensions/browser/api/web_request/web_request_api.h" 23 #include "extensions/browser/api/web_request/web_request_api.h"
25 #include "extensions/browser/guest_view/web_view/web_view_constants.h" 24 #include "extensions/browser/guest_view/web_view/web_view_constants.h"
26 25
27 using guest_view::GuestViewEvent; 26 using guest_view::GuestViewEvent;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 114
116 void ChromeWebViewGuestDelegate::SetContextMenuPosition( 115 void ChromeWebViewGuestDelegate::SetContextMenuPosition(
117 const gfx::Point& position) { 116 const gfx::Point& position) {
118 if (context_menu_position_ == nullptr) 117 if (context_menu_position_ == nullptr)
119 context_menu_position_.reset(new gfx::Point()); 118 context_menu_position_.reset(new gfx::Point());
120 119
121 *context_menu_position_ = position; 120 *context_menu_position_ = position;
122 } 121 }
123 122
124 } // namespace extensions 123 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698