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

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

Issue 30413002: Revert 229507 "aura: Allow creating content_shell without views." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/content/shell/browser/shell.h ('k') | trunk/src/content/shell/browser/shell_aura.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 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 "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 11 matching lines...) Expand all
22 #include "content/public/common/renderer_preferences.h" 22 #include "content/public/common/renderer_preferences.h"
23 #include "content/shell/browser/notify_done_forwarder.h" 23 #include "content/shell/browser/notify_done_forwarder.h"
24 #include "content/shell/browser/shell_browser_main_parts.h" 24 #include "content/shell/browser/shell_browser_main_parts.h"
25 #include "content/shell/browser/shell_content_browser_client.h" 25 #include "content/shell/browser/shell_content_browser_client.h"
26 #include "content/shell/browser/shell_devtools_frontend.h" 26 #include "content/shell/browser/shell_devtools_frontend.h"
27 #include "content/shell/browser/shell_javascript_dialog_manager.h" 27 #include "content/shell/browser/shell_javascript_dialog_manager.h"
28 #include "content/shell/browser/webkit_test_controller.h" 28 #include "content/shell/browser/webkit_test_controller.h"
29 #include "content/shell/common/shell_messages.h" 29 #include "content/shell/common/shell_messages.h"
30 #include "content/shell/common/shell_switches.h" 30 #include "content/shell/common/shell_switches.h"
31 31
32 #if defined(USE_AURA) && !defined(TOOLKIT_VIEWS)
33 #include "content/shell/browser/shell_aura.h"
34 #endif
35
36 namespace content { 32 namespace content {
37 33
38 const int Shell::kDefaultTestWindowWidthDip = 800; 34 const int Shell::kDefaultTestWindowWidthDip = 800;
39 const int Shell::kDefaultTestWindowHeightDip = 600; 35 const int Shell::kDefaultTestWindowHeightDip = 600;
40 36
41 std::vector<Shell*> Shell::windows_; 37 std::vector<Shell*> Shell::windows_;
42 base::Callback<void(Shell*)> Shell::shell_created_callback_; 38 base::Callback<void(Shell*)> Shell::shell_created_callback_;
43 39
44 bool Shell::quit_message_loop_ = true; 40 bool Shell::quit_message_loop_ = true;
45 41
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 if (entry) 347 if (entry)
352 PlatformSetTitle(entry->GetTitle()); 348 PlatformSetTitle(entry->GetTitle());
353 } 349 }
354 350
355 void Shell::OnDevToolsWebContentsDestroyed() { 351 void Shell::OnDevToolsWebContentsDestroyed() {
356 devtools_observer_.reset(); 352 devtools_observer_.reset();
357 devtools_frontend_ = NULL; 353 devtools_frontend_ = NULL;
358 } 354 }
359 355
360 } // namespace content 356 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/content/shell/browser/shell.h ('k') | trunk/src/content/shell/browser/shell_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698