#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
-#include "content/public/browser/web_contents_view.h"
+#include "extensions/common/constants.h"
#if defined(USE_ASH)
#include "ash/shelf/shelf_constants.h"
int ChromeAppWindowDelegate::PreferredIconSize() {
#if defined(USE_ASH)
- return ash::kShelfPreferredSize;
+ return ash::kShelfSize;
#else
return extension_misc::EXTENSION_ICON_SMALL;
#endif
bool ChromeAppWindowDelegate::IsWebContentsVisible(
content::WebContents* web_contents) {
- return platform_util::IsVisible(web_contents->GetView()->GetNativeView());
+ return platform_util::IsVisible(web_contents->GetNativeView());
}