| 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_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
| 14 #include "ui/gfx/geometry/size.h" |
| 14 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 15 #include "ui/gfx/size.h" | |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 class RenderViewHost; | 18 class RenderViewHost; |
| 19 class RenderWidgetHost; | 19 class RenderWidgetHost; |
| 20 class RenderWidgetHostViewBase; | 20 class RenderWidgetHostViewBase; |
| 21 struct DropData; | 21 struct DropData; |
| 22 | 22 |
| 23 // The WebContentsView is an interface that is implemented by the platform- | 23 // The WebContentsView is an interface that is implemented by the platform- |
| 24 // dependent web contents views. The WebContents uses this interface to talk to | 24 // dependent web contents views. The WebContents uses this interface to talk to |
| 25 // them. | 25 // them. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // true CloseTabAfterEventTracking() is called and the close is not | 122 // true CloseTabAfterEventTracking() is called and the close is not |
| 123 // completed. | 123 // completed. |
| 124 virtual bool IsEventTracking() const = 0; | 124 virtual bool IsEventTracking() const = 0; |
| 125 virtual void CloseTabAfterEventTracking() = 0; | 125 virtual void CloseTabAfterEventTracking() = 0; |
| 126 #endif | 126 #endif |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace content | 129 } // namespace content |
| 130 | 130 |
| 131 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_H_ | 131 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_H_ |
| OLD | NEW |