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

Side by Side Diff: chrome/browser/tab_contents/about_internets_status_view.h

Issue 18408: Remove the about:internets view :(... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_ABOUT_INTERNETS_STATUS_VIEW_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_ABOUT_INTERNETS_STATUS_VIEW_H_
7
8 #include "base/scoped_handle.h"
9 #include "chrome/browser/tab_contents/status_view.h"
10
11 // Displays sspipes.scr in the content HWND.
12 class AboutInternetsStatusView : public StatusView {
13 public:
14 AboutInternetsStatusView();
15 virtual ~AboutInternetsStatusView();
16
17 // TabContents overrides
18 virtual const std::wstring GetDefaultTitle() const;
19 virtual const std::wstring& GetTitle() const;
20
21 // StatusView implementations
22
23 // Starts sspipes.scr rendering into the contents HWND. (Actually, it looks
24 // like this creates a child HWND which is the same size as the contents,
25 // and draws into that. Thus, it doesn't resize properly.)
26 // TODO(devint): Fix this resizing issue. A few possibilities:
27 // 1) Restart the process a few seconds after a resize is completed.
28 // 2) Render into an invisible HWND and stretchblt to the current HWND.
29 virtual void OnCreate(const CRect& rect);
30 // Does nothing, but implementation is required by StatusView.
31 virtual void OnSize(const CRect& rect);
32
33 private:
34 // Information about the pipes process, used to close the process when this
35 // view is destroyed.
36 ScopedHandle process_handle_;
37
38 // Title of the page.
39 std::wstring title_;
40
41 DISALLOW_EVIL_CONSTRUCTORS(AboutInternetsStatusView);
42 };
43
44 #endif // CHROME_BROWSER_TAB_CONTENTS_ABOUT_INTERNETS_STATUS_VIEW_H_
45
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/tab_contents/about_internets_status_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698