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

Side by Side Diff: content/shell/browser/shell.cc

Issue 2756623002: DevTools: extract bindings from ShellDevToolsFrontend (Closed)
Patch Set: fixup 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/shell/browser/shell.h" 5 #include "content/shell/browser/shell.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 12 matching lines...) Expand all
23 #include "content/public/browser/navigation_entry.h" 23 #include "content/public/browser/navigation_entry.h"
24 #include "content/public/browser/render_view_host.h" 24 #include "content/public/browser/render_view_host.h"
25 #include "content/public/browser/render_widget_host.h" 25 #include "content/public/browser/render_widget_host.h"
26 #include "content/public/browser/web_contents.h" 26 #include "content/public/browser/web_contents.h"
27 #include "content/public/browser/web_contents_observer.h" 27 #include "content/public/browser/web_contents_observer.h"
28 #include "content/public/common/content_switches.h" 28 #include "content/public/common/content_switches.h"
29 #include "content/public/common/renderer_preferences.h" 29 #include "content/public/common/renderer_preferences.h"
30 #include "content/public/common/webrtc_ip_handling_policy.h" 30 #include "content/public/common/webrtc_ip_handling_policy.h"
31 #include "content/shell/browser/layout_test/blink_test_controller.h" 31 #include "content/shell/browser/layout_test/blink_test_controller.h"
32 #include "content/shell/browser/layout_test/layout_test_bluetooth_chooser_factor y.h" 32 #include "content/shell/browser/layout_test/layout_test_bluetooth_chooser_factor y.h"
33 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" 33 #include "content/shell/browser/layout_test/layout_test_devtools_bindings.h"
34 #include "content/shell/browser/layout_test/layout_test_javascript_dialog_manage r.h" 34 #include "content/shell/browser/layout_test/layout_test_javascript_dialog_manage r.h"
35 #include "content/shell/browser/layout_test/secondary_test_window_observer.h" 35 #include "content/shell/browser/layout_test/secondary_test_window_observer.h"
36 #include "content/shell/browser/shell_browser_main_parts.h" 36 #include "content/shell/browser/shell_browser_main_parts.h"
37 #include "content/shell/browser/shell_content_browser_client.h" 37 #include "content/shell/browser/shell_content_browser_client.h"
38 #include "content/shell/browser/shell_devtools_frontend.h" 38 #include "content/shell/browser/shell_devtools_frontend.h"
39 #include "content/shell/browser/shell_javascript_dialog_manager.h" 39 #include "content/shell/browser/shell_javascript_dialog_manager.h"
40 #include "content/shell/common/layout_test/layout_test_switches.h" 40 #include "content/shell/common/layout_test/layout_test_switches.h"
41 #include "content/shell/common/shell_messages.h" 41 #include "content/shell/common/shell_messages.h"
42 #include "content/shell/common/shell_switches.h" 42 #include "content/shell/common/shell_switches.h"
43 #include "media/media_features.h" 43 #include "media/media_features.h"
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 if (entry) 520 if (entry)
521 PlatformSetTitle(entry->GetTitle()); 521 PlatformSetTitle(entry->GetTitle());
522 } 522 }
523 523
524 void Shell::OnDevToolsWebContentsDestroyed() { 524 void Shell::OnDevToolsWebContentsDestroyed() {
525 devtools_observer_.reset(); 525 devtools_observer_.reset();
526 devtools_frontend_ = NULL; 526 devtools_frontend_ = NULL;
527 } 527 }
528 528
529 } // namespace content 529 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/layout_test/layout_test_devtools_frontend.cc ('k') | content/shell/browser/shell_devtools_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698