aw_web_contents_view_delegate.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. #ifndef ANDROID_WEBVIEW_BROWSER_AW_WEB_CONTENTS_VIEW_DELEGATE_H_
  5. #define ANDROID_WEBVIEW_BROWSER_AW_WEB_CONTENTS_VIEW_DELEGATE_H_
  6. #include "content/public/browser/web_contents_view_delegate.h"
  7. namespace content {
  8. class WebContents;
  9. } // namespace content
  10. namespace android_webview {
  11. class AwWebContentsViewDelegate : public content::WebContentsViewDelegate {
  12. public:
  13. explicit AwWebContentsViewDelegate(content::WebContents* web_contents);
  14. AwWebContentsViewDelegate(const AwWebContentsViewDelegate&) = delete;
  15. AwWebContentsViewDelegate& operator=(const AwWebContentsViewDelegate&) =
  16. delete;
  17. ~AwWebContentsViewDelegate() override;
  18. // content::WebContentsViewDelegate implementation.
  19. content::WebDragDestDelegate* GetDragDestDelegate() override;
  20. };
  21. } // namespace android_webview
  22. #endif // ANDROID_WEBVIEW_BROWSER_AW_WEB_CONTENTS_VIEW_DELEGATE_H_