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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_guest.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
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/extensions.gyp » ('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 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 #include "extensions/browser/guest_view/web_view/web_view_guest.h" 5 #include "extensions/browser/guest_view/web_view/web_view_guest.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "components/browsing_data/storage_partition_http_cache_data_remover.h" 16 #include "components/browsing_data/content/storage_partition_http_cache_data_rem over.h"
17 #include "components/guest_view/browser/guest_view_event.h" 17 #include "components/guest_view/browser/guest_view_event.h"
18 #include "components/guest_view/browser/guest_view_manager.h" 18 #include "components/guest_view/browser/guest_view_manager.h"
19 #include "components/guest_view/common/guest_view_constants.h" 19 #include "components/guest_view/common/guest_view_constants.h"
20 #include "components/web_cache/browser/web_cache_manager.h" 20 #include "components/web_cache/browser/web_cache_manager.h"
21 #include "content/public/browser/browser_context.h" 21 #include "content/public/browser/browser_context.h"
22 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/child_process_security_policy.h" 23 #include "content/public/browser/child_process_security_policy.h"
24 #include "content/public/browser/native_web_keyboard_event.h" 24 #include "content/public/browser/native_web_keyboard_event.h"
25 #include "content/public/browser/navigation_entry.h" 25 #include "content/public/browser/navigation_entry.h"
26 #include "content/public/browser/notification_details.h" 26 #include "content/public/browser/notification_details.h"
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 std::unique_ptr<base::DictionaryValue> args(new base::DictionaryValue()); 1497 std::unique_ptr<base::DictionaryValue> args(new base::DictionaryValue());
1498 DispatchEventToView(base::WrapUnique( 1498 DispatchEventToView(base::WrapUnique(
1499 new GuestViewEvent(webview::kEventExitFullscreen, std::move(args)))); 1499 new GuestViewEvent(webview::kEventExitFullscreen, std::move(args))));
1500 } 1500 }
1501 // Since we changed fullscreen state, sending a Resize message ensures that 1501 // Since we changed fullscreen state, sending a Resize message ensures that
1502 // renderer/ sees the change. 1502 // renderer/ sees the change.
1503 web_contents()->GetRenderViewHost()->GetWidget()->WasResized(); 1503 web_contents()->GetRenderViewHost()->GetWidget()->WasResized();
1504 } 1504 }
1505 1505
1506 } // namespace extensions 1506 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698