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_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/process_util.h" | 11 #include "base/process_util.h" |
13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
14 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
15 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
16 #include "ui/gfx/size.h" | 15 #include "ui/gfx/size.h" |
17 | 16 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 virtual bool IsEventTracking() const = 0; | 115 virtual bool IsEventTracking() const = 0; |
117 virtual void CloseTabAfterEventTracking() = 0; | 116 virtual void CloseTabAfterEventTracking() = 0; |
118 | 117 |
119 // Get the bounds of the View, relative to the parent. | 118 // Get the bounds of the View, relative to the parent. |
120 virtual gfx::Rect GetViewBounds() const = 0; | 119 virtual gfx::Rect GetViewBounds() const = 0; |
121 }; | 120 }; |
122 | 121 |
123 } // namespace content | 122 } // namespace content |
124 | 123 |
125 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ | 124 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ |
OLD | NEW |