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

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

Issue 2127403002: Make browsing_data component a layered component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed output_name from components/browsing_data/content/BUILD.gn Created 4 years, 5 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" 17 #include "chrome/browser/ui/ash/ash_util.h"
18 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h" 18 #include "chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h"
19 #include "chrome/common/url_constants.h" 19 #include "chrome/common/url_constants.h"
20 #include "components/browsing_data/storage_partition_http_cache_data_remover.h" 20 #include "components/browsing_data/content/storage_partition_http_cache_data_rem over.h"
21 #include "components/guest_view/browser/guest_view_event.h" 21 #include "components/guest_view/browser/guest_view_event.h"
22 #include "components/renderer_context_menu/context_menu_delegate.h" 22 #include "components/renderer_context_menu/context_menu_delegate.h"
23 #include "content/public/browser/render_process_host.h" 23 #include "content/public/browser/render_process_host.h"
24 #include "extensions/browser/api/web_request/web_request_api.h" 24 #include "extensions/browser/api/web_request/web_request_api.h"
25 #include "extensions/browser/guest_view/web_view/web_view_constants.h" 25 #include "extensions/browser/guest_view/web_view/web_view_constants.h"
26 26
27 using guest_view::GuestViewEvent; 27 using guest_view::GuestViewEvent;
28 28
29 namespace extensions { 29 namespace extensions {
30 30
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 void ChromeWebViewGuestDelegate::SetContextMenuPosition( 160 void ChromeWebViewGuestDelegate::SetContextMenuPosition(
161 const gfx::Point& position) { 161 const gfx::Point& position) {
162 if (context_menu_position_ == nullptr) 162 if (context_menu_position_ == nullptr)
163 context_menu_position_.reset(new gfx::Point()); 163 context_menu_position_.reset(new gfx::Point());
164 164
165 *context_menu_position_ = position; 165 *context_menu_position_ = position;
166 } 166 }
167 167
168 } // namespace extensions 168 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698