OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
8 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
9 #include "content/public/browser/web_contents_view_delegate.h" | 11 #include "content/public/browser/web_contents_view_delegate.h" |
10 #include "content/public/common/context_menu_params.h" | 12 #include "content/public/common/context_menu_params.h" |
11 | 13 |
12 namespace content { | 14 namespace content { |
13 | 15 |
14 class ShellWebContentsViewDelegate : public WebContentsViewDelegate { | 16 class ShellWebContentsViewDelegate : public WebContentsViewDelegate { |
15 public: | 17 public: |
16 explicit ShellWebContentsViewDelegate(WebContents* web_contents); | 18 explicit ShellWebContentsViewDelegate(WebContents* web_contents); |
17 ~ShellWebContentsViewDelegate() override; | 19 ~ShellWebContentsViewDelegate() override; |
(...skipping 11 matching lines...) Expand all Loading... |
29 private: | 31 private: |
30 WebContents* web_contents_; | 32 WebContents* web_contents_; |
31 ContextMenuParams params_; | 33 ContextMenuParams params_; |
32 | 34 |
33 DISALLOW_COPY_AND_ASSIGN(ShellWebContentsViewDelegate); | 35 DISALLOW_COPY_AND_ASSIGN(ShellWebContentsViewDelegate); |
34 }; | 36 }; |
35 | 37 |
36 } // namespace content | 38 } // namespace content |
37 | 39 |
38 #endif // CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ | 40 #endif // CONTENT_SHELL_BROWSER_SHELL_WEB_CONTENTS_VIEW_DELEGATE_H_ |
OLD | NEW |