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

Side by Side Diff: ash/screensaver/screensaver_view.h

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 years, 5 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
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 ASH_SCREENSAVER_SCREENSAVER_VIEW_H_ 5 #ifndef ASH_SCREENSAVER_SCREENSAVER_VIEW_H_
6 #define ASH_SCREENSAVER_SCREENSAVER_VIEW_H_ 6 #define ASH_SCREENSAVER_SCREENSAVER_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 private: 48 private:
49 friend class test::ScreensaverViewTest; 49 friend class test::ScreensaverViewTest;
50 50
51 explicit ScreensaverView(const GURL& url); 51 explicit ScreensaverView(const GURL& url);
52 virtual ~ScreensaverView(); 52 virtual ~ScreensaverView();
53 53
54 // views::WidgetDelegate overrides. 54 // views::WidgetDelegate overrides.
55 virtual views::View* GetContentsView() OVERRIDE; 55 virtual views::View* GetContentsView() OVERRIDE;
56 56
57 // content::WebContentsObserver overrides. 57 // content::WebContentsObserver overrides.
58 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 58 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
59 59
60 void Show(); 60 void Show();
61 void Close(); 61 void Close();
62 62
63 // Creates and adds web contents to our view. 63 // Creates and adds web contents to our view.
64 void AddChildWebContents(); 64 void AddChildWebContents();
65 // Load the screensaver in the WebView's webcontent. If the webcontents 65 // Load the screensaver in the WebView's webcontent. If the webcontents
66 // don't exist, they'll be created by WebView. 66 // don't exist, they'll be created by WebView.
67 void LoadScreensaver(); 67 void LoadScreensaver();
68 // Creates and shows a frameless full screen window containing our view. 68 // Creates and shows a frameless full screen window containing our view.
(...skipping 16 matching lines...) Expand all
85 // Window that holds the screensaver webview. 85 // Window that holds the screensaver webview.
86 views::Widget* container_window_; 86 views::Widget* container_window_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(ScreensaverView); 88 DISALLOW_COPY_AND_ASSIGN(ScreensaverView);
89 }; 89 };
90 90
91 } // namespace internal 91 } // namespace internal
92 } // namespace ash 92 } // namespace ash
93 93
94 #endif // ASH_SCREENSAVER_SCREENSAVER_VIEW_H_ 94 #endif // ASH_SCREENSAVER_SCREENSAVER_VIEW_H_
OLDNEW
« no previous file with comments | « android_webview/browser/renderer_host/aw_render_view_host_ext.cc ('k') | ash/screensaver/screensaver_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698