| 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 30 matching lines...) Expand all Loading... |
| 41 virtual void SizeContents(const gfx::Size& size); | 41 virtual void SizeContents(const gfx::Size& size); |
| 42 virtual void FindInPage(const Browser& browser, | 42 virtual void FindInPage(const Browser& browser, |
| 43 bool find_next, bool forward_direction); | 43 bool find_next, bool forward_direction); |
| 44 virtual void HideFindBar(bool end_session); | 44 virtual void HideFindBar(bool end_session); |
| 45 virtual void ReparentFindWindow(Browser* new_browser) const; | 45 virtual void ReparentFindWindow(Browser* new_browser) const; |
| 46 virtual bool GetFindBarWindowInfo(gfx::Point* position, | 46 virtual bool GetFindBarWindowInfo(gfx::Point* position, |
| 47 bool* fully_visible) const; | 47 bool* fully_visible) const; |
| 48 | 48 |
| 49 // Backend implementation of RenderViewHostDelegate::View. | 49 // Backend implementation of RenderViewHostDelegate::View. |
| 50 virtual WebContents* CreateNewWindowInternal( | 50 virtual WebContents* CreateNewWindowInternal( |
| 51 int route_id, HANDLE modal_dialog_event); | 51 int route_id, base::WaitableEvent* modal_dialog_event); |
| 52 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id, | 52 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id, |
| 53 bool activatable); | 53 bool activatable); |
| 54 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents, | 54 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents, |
| 55 WindowOpenDisposition disposition, | 55 WindowOpenDisposition disposition, |
| 56 const gfx::Rect& initial_pos, | 56 const gfx::Rect& initial_pos, |
| 57 bool user_gesture); | 57 bool user_gesture); |
| 58 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, | 58 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, |
| 59 const gfx::Rect& initial_pos); | 59 const gfx::Rect& initial_pos); |
| 60 virtual void ShowContextMenu( | 60 virtual void ShowContextMenu( |
| 61 const ViewHostMsg_ContextMenu_Params& params); | 61 const ViewHostMsg_ContextMenu_Params& params); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // visible. | 119 // visible. |
| 120 scoped_ptr<SadTabView> sad_tab_; | 120 scoped_ptr<SadTabView> sad_tab_; |
| 121 | 121 |
| 122 // Whether to ignore the next CHAR keyboard event. | 122 // Whether to ignore the next CHAR keyboard event. |
| 123 bool ignore_next_char_event_; | 123 bool ignore_next_char_event_; |
| 124 | 124 |
| 125 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); | 125 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 #endif // CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ | 128 #endif // CHROME_BROWSER_WEB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |