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

Side by Side Diff: chrome/browser/ui/views/hung_renderer_view.h

Issue 11571023: Move ash/wm's DialogFrameView to ui/views/window; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reorder DialogDelegate functions; inline Get*Params into WidgetExample::ButtonPressed; etc. Created 8 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "chrome/browser/favicon/favicon_tab_helper.h" 9 #include "chrome/browser/favicon/favicon_tab_helper.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual void ShowForWebContents(content::WebContents* contents); 112 virtual void ShowForWebContents(content::WebContents* contents);
113 virtual void EndForWebContents(content::WebContents* contents); 113 virtual void EndForWebContents(content::WebContents* contents);
114 114
115 // views::DialogDelegateView overrides: 115 // views::DialogDelegateView overrides:
116 virtual string16 GetWindowTitle() const OVERRIDE; 116 virtual string16 GetWindowTitle() const OVERRIDE;
117 virtual void WindowClosing() OVERRIDE; 117 virtual void WindowClosing() OVERRIDE;
118 virtual int GetDialogButtons() const OVERRIDE; 118 virtual int GetDialogButtons() const OVERRIDE;
119 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 119 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
120 virtual views::View* GetExtraView() OVERRIDE; 120 virtual views::View* GetExtraView() OVERRIDE;
121 virtual bool Accept(bool window_closing) OVERRIDE; 121 virtual bool Accept(bool window_closing) OVERRIDE;
122 virtual views::View* GetContentsView() OVERRIDE;
123 122
124 // views::ButtonListener overrides: 123 // views::ButtonListener overrides:
125 virtual void ButtonPressed(views::Button* sender, 124 virtual void ButtonPressed(views::Button* sender,
126 const ui::Event& event) OVERRIDE; 125 const ui::Event& event) OVERRIDE;
127 126
128 // HungPagesTableModel::Delegate overrides: 127 // HungPagesTableModel::Delegate overrides:
129 virtual void TabDestroyed() OVERRIDE; 128 virtual void TabDestroyed() OVERRIDE;
130 129
131 protected: 130 protected:
132 HungRendererDialogView(); 131 HungRendererDialogView();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // Whether or not we've created controls for ourself. 165 // Whether or not we've created controls for ourself.
167 bool initialized_; 166 bool initialized_;
168 167
169 // An amusing icon image. 168 // An amusing icon image.
170 static gfx::ImageSkia* frozen_icon_; 169 static gfx::ImageSkia* frozen_icon_;
171 170
172 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogView); 171 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogView);
173 }; 172 };
174 173
175 #endif // CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_ 174 #endif // CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc ('k') | chrome/browser/ui/views/hung_renderer_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698