OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CHROMEOS_UI_APP_LAUNCH_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_APP_LAUNCH_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_UI_APP_LAUNCH_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UI_APP_LAUNCH_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 static void UpdateAppLaunchState(AppLaunchState state); | 47 static void UpdateAppLaunchState(AppLaunchState state); |
48 | 48 |
49 private: | 49 private: |
50 explicit AppLaunchView(const std::string& app_id); | 50 explicit AppLaunchView(const std::string& app_id); |
51 virtual ~AppLaunchView(); | 51 virtual ~AppLaunchView(); |
52 | 52 |
53 // views::WidgetDelegate overrides. | 53 // views::WidgetDelegate overrides. |
54 virtual views::View* GetContentsView() OVERRIDE; | 54 virtual views::View* GetContentsView() OVERRIDE; |
55 | 55 |
56 // content::WebContentsObserver overrides. | 56 // content::WebContentsObserver overrides. |
57 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; | 57 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
58 | 58 |
59 void Show(); | 59 void Show(); |
60 void Close(); | 60 void Close(); |
61 | 61 |
62 // Updates UI state of the app launch splash screen. | 62 // Updates UI state of the app launch splash screen. |
63 void UpdateState(AppLaunchState state); | 63 void UpdateState(AppLaunchState state); |
64 | 64 |
65 // Creates and adds web contents to our view. | 65 // Creates and adds web contents to our view. |
66 void AddChildWebContents(); | 66 void AddChildWebContents(); |
67 | 67 |
(...skipping 21 matching lines...) Expand all Loading... |
89 AppLaunchUI* app_launch_ui_; // Not owned. | 89 AppLaunchUI* app_launch_ui_; // Not owned. |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(AppLaunchView); | 91 DISALLOW_COPY_AND_ASSIGN(AppLaunchView); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace internal | 94 } // namespace internal |
95 | 95 |
96 } // namespace chromeos | 96 } // namespace chromeos |
97 | 97 |
98 #endif // CHROME_BROWSER_CHROMEOS_UI_APP_LAUNCH_VIEW_H_ | 98 #endif // CHROME_BROWSER_CHROMEOS_UI_APP_LAUNCH_VIEW_H_ |
OLD | NEW |