| 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_WIN_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/timer.h" | 10 #include "base/timer.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 MESSAGE_HANDLER(WM_HSCROLL, OnScroll) | 50 MESSAGE_HANDLER(WM_HSCROLL, OnScroll) |
| 51 MESSAGE_HANDLER(WM_VSCROLL, OnScroll) | 51 MESSAGE_HANDLER(WM_VSCROLL, OnScroll) |
| 52 MESSAGE_HANDLER(WM_SIZE, OnSize) | 52 MESSAGE_HANDLER(WM_SIZE, OnSize) |
| 53 END_MSG_MAP() | 53 END_MSG_MAP() |
| 54 | 54 |
| 55 // Overridden from WebContentsView: | 55 // Overridden from WebContentsView: |
| 56 virtual void CreateView( | 56 virtual void CreateView( |
| 57 const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; | 57 const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; |
| 58 virtual RenderWidgetHostView* CreateViewForWidget( | 58 virtual RenderWidgetHostView* CreateViewForWidget( |
| 59 RenderWidgetHost* render_widget_host) OVERRIDE; | 59 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 60 virtual RenderWidgetHostView* CreateViewForPopupWidget( |
| 61 RenderWidgetHost* render_widget_host) OVERRIDE; |
| 60 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 62 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 61 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 63 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
| 62 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; | 64 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; |
| 63 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; | 65 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; |
| 64 virtual void SetPageTitle(const string16& title) OVERRIDE; | 66 virtual void SetPageTitle(const string16& title) OVERRIDE; |
| 65 virtual void OnTabCrashed(base::TerminationStatus status, | 67 virtual void OnTabCrashed(base::TerminationStatus status, |
| 66 int error_code) OVERRIDE; | 68 int error_code) OVERRIDE; |
| 67 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 69 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
| 68 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 70 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
| 69 virtual void Focus() OVERRIDE; | 71 virtual void Focus() OVERRIDE; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 scoped_refptr<WebContentsDragWin> drag_handler_; | 139 scoped_refptr<WebContentsDragWin> drag_handler_; |
| 138 | 140 |
| 139 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; | 141 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; |
| 140 | 142 |
| 141 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); | 143 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); |
| 142 }; | 144 }; |
| 143 | 145 |
| 144 } // namespace content | 146 } // namespace content |
| 145 | 147 |
| 146 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 148 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |