Chromium Code Reviews

Side by Side Diff: chrome/browser/views/hung_renderer_view.cc

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/browser/views/hung_renderer_view.h" 5 #include "chrome/browser/views/hung_renderer_view.h"
6 6
7 #include "app/gfx/chrome_canvas.h" 7 #include "app/gfx/chrome_canvas.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/renderer_host/render_process_host.h" 10 #include "chrome/browser/renderer_host/render_process_host.h"
11 #include "chrome/browser/renderer_host/render_view_host.h" 11 #include "chrome/browser/renderer_host/render_view_host.h"
12 #include "chrome/browser/views/standard_layout.h" 12 #include "chrome/browser/views/standard_layout.h"
13 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
14 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
15 #include "chrome/common/gfx/path.h"
16 #include "chrome/common/logging_chrome.h" 15 #include "chrome/common/logging_chrome.h"
17 #include "chrome/common/result_codes.h" 16 #include "chrome/common/result_codes.h"
18 #include "chrome/views/grid_layout.h" 17 #include "chrome/views/grid_layout.h"
19 #include "chrome/views/controls/button/native_button.h" 18 #include "chrome/views/controls/button/native_button.h"
20 #include "chrome/views/controls/image_view.h" 19 #include "chrome/views/controls/image_view.h"
21 #include "chrome/views/controls/label.h" 20 #include "chrome/views/controls/label.h"
22 #include "chrome/views/controls/table/group_table_view.h" 21 #include "chrome/views/controls/table/group_table_view.h"
23 #include "chrome/views/window/client_view.h" 22 #include "chrome/views/window/client_view.h"
24 #include "chrome/views/window/dialog_delegate.h" 23 #include "chrome/views/window/dialog_delegate.h"
25 #include "chrome/views/window/window.h" 24 #include "chrome/views/window/window.h"
(...skipping 414 matching lines...)
440 instance_ = CreateHungRendererWarningView(); 439 instance_ = CreateHungRendererWarningView();
441 instance_->ShowForTabContents(contents); 440 instance_->ShowForTabContents(contents);
442 } 441 }
443 } 442 }
444 443
445 // static 444 // static
446 void HungRendererWarning::HideForTabContents(TabContents* contents) { 445 void HungRendererWarning::HideForTabContents(TabContents* contents) {
447 if (!logging::DialogsAreSuppressed() && instance_) 446 if (!logging::DialogsAreSuppressed() && instance_)
448 instance_->EndForTabContents(contents); 447 instance_->EndForTabContents(contents);
449 } 448 }
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine