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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 virtual DropData* GetDropData() const OVERRIDE; | 111 virtual DropData* GetDropData() const OVERRIDE; |
112 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 112 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
113 | 113 |
114 // Overridden from WebContentsViewPort: | 114 // Overridden from WebContentsViewPort: |
115 virtual void CreateView( | 115 virtual void CreateView( |
116 const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; | 116 const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; |
117 virtual RenderWidgetHostView* CreateViewForWidget( | 117 virtual RenderWidgetHostView* CreateViewForWidget( |
118 RenderWidgetHost* render_widget_host) OVERRIDE; | 118 RenderWidgetHost* render_widget_host) OVERRIDE; |
119 virtual RenderWidgetHostView* CreateViewForPopupWidget( | 119 virtual RenderWidgetHostView* CreateViewForPopupWidget( |
120 RenderWidgetHost* render_widget_host) OVERRIDE; | 120 RenderWidgetHost* render_widget_host) OVERRIDE; |
121 virtual void SetPageTitle(const string16& title) OVERRIDE; | 121 virtual void SetPageTitle(const base::string16& title) OVERRIDE; |
122 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 122 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
123 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE; | 123 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE; |
124 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE; | 124 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE; |
125 | 125 |
126 // Overridden from RenderViewHostDelegateView: | 126 // Overridden from RenderViewHostDelegateView: |
127 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; | 127 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; |
128 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 128 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
129 int item_height, | 129 int item_height, |
130 double item_font_size, | 130 double item_font_size, |
131 int selected_item, | 131 int selected_item, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_; | 224 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_; |
225 | 225 |
226 scoped_ptr<TouchEditableImplAura> touch_editable_; | 226 scoped_ptr<TouchEditableImplAura> touch_editable_; |
227 | 227 |
228 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 228 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
229 }; | 229 }; |
230 | 230 |
231 } // namespace content | 231 } // namespace content |
232 | 232 |
233 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 233 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
OLD | NEW |