| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ |
| 6 #define CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ |
| 7 | 7 |
| 8 #include "base/gfx/size.h" | 8 #include "base/gfx/size.h" |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "chrome/browser/web_contents_view.h" | 10 #include "chrome/browser/web_contents_view.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 virtual void FindInPage(const Browser& browser, | 49 virtual void FindInPage(const Browser& browser, |
| 50 bool find_next, bool forward_direction); | 50 bool find_next, bool forward_direction); |
| 51 virtual void HideFindBar(bool end_session); | 51 virtual void HideFindBar(bool end_session); |
| 52 virtual void ReparentFindWindow(Browser* new_browser) const; | 52 virtual void ReparentFindWindow(Browser* new_browser) const; |
| 53 virtual bool GetFindBarWindowInfo(gfx::Point* position, | 53 virtual bool GetFindBarWindowInfo(gfx::Point* position, |
| 54 bool* fully_visible) const; | 54 bool* fully_visible) const; |
| 55 | 55 |
| 56 // Backend implementation of RenderViewHostDelegate::View. | 56 // Backend implementation of RenderViewHostDelegate::View. |
| 57 virtual WebContents* CreateNewWindowInternal( | 57 virtual WebContents* CreateNewWindowInternal( |
| 58 int route_id, HANDLE modal_dialog_event); | 58 int route_id, HANDLE modal_dialog_event); |
| 59 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id); | 59 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id, |
| 60 bool focus_on_show); |
| 60 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents, | 61 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents, |
| 61 WindowOpenDisposition disposition, | 62 WindowOpenDisposition disposition, |
| 62 const gfx::Rect& initial_pos, | 63 const gfx::Rect& initial_pos, |
| 63 bool user_gesture); | 64 bool user_gesture); |
| 64 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, | 65 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, |
| 65 const gfx::Rect& initial_pos); | 66 const gfx::Rect& initial_pos); |
| 66 virtual void ShowContextMenu( | 67 virtual void ShowContextMenu( |
| 67 const ViewHostMsg_ContextMenu_Params& params); | 68 const ViewHostMsg_ContextMenu_Params& params); |
| 68 virtual void StartDragging(const WebDropData& drop_data); | 69 virtual void StartDragging(const WebDropData& drop_data); |
| 69 virtual void UpdateDragCursor(bool is_drop_target); | 70 virtual void UpdateDragCursor(bool is_drop_target); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // only if InfoBarView::GetChildIndex for this view is valid. | 134 // only if InfoBarView::GetChildIndex for this view is valid. |
| 134 InfoBarMessageView* error_info_bar_message_; | 135 InfoBarMessageView* error_info_bar_message_; |
| 135 | 136 |
| 136 // Whether the info bar view is visible. | 137 // Whether the info bar view is visible. |
| 137 bool info_bar_visible_; | 138 bool info_bar_visible_; |
| 138 | 139 |
| 139 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); | 140 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); |
| 140 }; | 141 }; |
| 141 | 142 |
| 142 #endif // CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ | 143 #endif // CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |