OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
7 #pragma once | |
8 | 7 |
9 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
10 | 9 |
11 #include <string> | 10 #include <string> |
12 #include <vector> | 11 #include <vector> |
13 | 12 |
14 #include "base/memory/scoped_nsobject.h" | 13 #include "base/memory/scoped_nsobject.h" |
15 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
16 #include "content/port/browser/render_view_host_delegate_view.h" | 15 #include "content/port/browser/render_view_host_delegate_view.h" |
17 #include "content/public/browser/web_contents_view.h" | 16 #include "content/public/browser/web_contents_view.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // focus returns. | 118 // focus returns. |
120 scoped_nsobject<FocusTracker> focus_tracker_; | 119 scoped_nsobject<FocusTracker> focus_tracker_; |
121 | 120 |
122 // Our optional delegate. | 121 // Our optional delegate. |
123 scoped_ptr<content::WebContentsViewDelegate> delegate_; | 122 scoped_ptr<content::WebContentsViewDelegate> delegate_; |
124 | 123 |
125 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); | 124 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); |
126 }; | 125 }; |
127 | 126 |
128 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 127 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |