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

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

Issue 27317: Support DWM switching.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 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 (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 "chrome/app/result_codes.h" 7 #include "chrome/app/result_codes.h"
8 #include "chrome/browser/browser_list.h" 8 #include "chrome/browser/browser_list.h"
9 #include "chrome/browser/renderer_host/render_process_host.h" 9 #include "chrome/browser/renderer_host/render_process_host.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/browser/views/standard_layout.h" 11 #include "chrome/browser/views/standard_layout.h"
12 #include "chrome/browser/tab_contents/web_contents.h" 12 #include "chrome/browser/tab_contents/web_contents.h"
13 #include "chrome/common/chrome_constants.h" 13 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/gfx/chrome_canvas.h" 14 #include "chrome/common/gfx/chrome_canvas.h"
15 #include "chrome/common/gfx/path.h" 15 #include "chrome/common/gfx/path.h"
16 #include "chrome/common/logging_chrome.h" 16 #include "chrome/common/logging_chrome.h"
17 #include "chrome/common/resource_bundle.h" 17 #include "chrome/common/resource_bundle.h"
18 #include "chrome/views/client_view.h" 18 #include "chrome/views/client_view.h"
19 #include "chrome/views/custom_frame_window.h"
20 #include "chrome/views/dialog_delegate.h" 19 #include "chrome/views/dialog_delegate.h"
21 #include "chrome/views/grid_layout.h" 20 #include "chrome/views/grid_layout.h"
22 #include "chrome/views/group_table_view.h" 21 #include "chrome/views/group_table_view.h"
23 #include "chrome/views/image_view.h" 22 #include "chrome/views/image_view.h"
24 #include "chrome/views/label.h" 23 #include "chrome/views/label.h"
25 #include "chrome/views/native_button.h" 24 #include "chrome/views/native_button.h"
25 #include "chrome/views/window.h"
26 #include "grit/chromium_strings.h" 26 #include "grit/chromium_strings.h"
27 #include "grit/generated_resources.h" 27 #include "grit/generated_resources.h"
28 #include "grit/theme_resources.h" 28 #include "grit/theme_resources.h"
29 29
30 /////////////////////////////////////////////////////////////////////////////// 30 ///////////////////////////////////////////////////////////////////////////////
31 // HungPagesTableModel 31 // HungPagesTableModel
32 32
33 class HungPagesTableModel : public views::GroupTableModel { 33 class HungPagesTableModel : public views::GroupTableModel {
34 public: 34 public:
35 HungPagesTableModel(); 35 HungPagesTableModel();
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 instance_->ShowForWebContents(contents); 443 instance_->ShowForWebContents(contents);
444 } 444 }
445 } 445 }
446 446
447 // static 447 // static
448 void HungRendererWarning::HideForWebContents(WebContents* contents) { 448 void HungRendererWarning::HideForWebContents(WebContents* contents) {
449 if (!logging::DialogsAreSuppressed() && instance_) 449 if (!logging::DialogsAreSuppressed() && instance_)
450 instance_->EndForWebContents(contents); 450 instance_->EndForWebContents(contents);
451 } 451 }
452 452
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/opaque_non_client_view.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698