aw_web_contents_view_delegate.cc 939 B

1234567891011121314151617181920212223242526272829
  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
  3. // found in the LICENSE file.
  4. #include "android_webview/browser/aw_web_contents_view_delegate.h"
  5. #include <memory>
  6. #include "content/public/browser/web_contents.h"
  7. #include "ui/gfx/color_space.h"
  8. namespace android_webview {
  9. AwWebContentsViewDelegate::AwWebContentsViewDelegate(
  10. content::WebContents* web_contents) {
  11. // Cannot instantiate web_contents_view_delegate_ here because
  12. // AwContents::SetWebDelegate is not called yet.
  13. }
  14. AwWebContentsViewDelegate::~AwWebContentsViewDelegate() {}
  15. content::WebDragDestDelegate* AwWebContentsViewDelegate::GetDragDestDelegate() {
  16. // GetDragDestDelegate is a pure virtual method from WebContentsViewDelegate
  17. // and must have an implementation although android doesn't use it.
  18. NOTREACHED();
  19. return NULL;
  20. }
  21. } // namespace android_webview