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_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_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/tab_contents/web_contents_view.h" | 10 #include "chrome/browser/tab_contents/web_contents_view.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 virtual WebContents* CreateNewWindowInternal( | 51 virtual WebContents* CreateNewWindowInternal( |
52 int route_id, base::WaitableEvent* modal_dialog_event); | 52 int route_id, base::WaitableEvent* modal_dialog_event); |
53 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id, | 53 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id, |
54 bool activatable); | 54 bool activatable); |
55 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents, | 55 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents, |
56 WindowOpenDisposition disposition, | 56 WindowOpenDisposition disposition, |
57 const gfx::Rect& initial_pos, | 57 const gfx::Rect& initial_pos, |
58 bool user_gesture); | 58 bool user_gesture); |
59 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, | 59 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, |
60 const gfx::Rect& initial_pos); | 60 const gfx::Rect& initial_pos); |
61 virtual void ShowContextMenu( | 61 virtual void ShowContextMenu(const ContextMenuParams& params); |
62 const ViewHostMsg_ContextMenu_Params& params); | |
63 virtual void StartDragging(const WebDropData& drop_data); | 62 virtual void StartDragging(const WebDropData& drop_data); |
64 virtual void UpdateDragCursor(bool is_drop_target); | 63 virtual void UpdateDragCursor(bool is_drop_target); |
65 virtual void TakeFocus(bool reverse); | 64 virtual void TakeFocus(bool reverse); |
66 virtual void HandleKeyboardEvent(const WebKeyboardEvent& event); | 65 virtual void HandleKeyboardEvent(const WebKeyboardEvent& event); |
67 virtual void OnFindReply(int request_id, | 66 virtual void OnFindReply(int request_id, |
68 int number_of_matches, | 67 int number_of_matches, |
69 const gfx::Rect& selection_rect, | 68 const gfx::Rect& selection_rect, |
70 int active_match_ordinal, | 69 int active_match_ordinal, |
71 bool final_update); | 70 bool final_update); |
72 | 71 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // visible. | 119 // visible. |
121 scoped_ptr<SadTabView> sad_tab_; | 120 scoped_ptr<SadTabView> sad_tab_; |
122 | 121 |
123 // Whether to ignore the next CHAR keyboard event. | 122 // Whether to ignore the next CHAR keyboard event. |
124 bool ignore_next_char_event_; | 123 bool ignore_next_char_event_; |
125 | 124 |
126 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); | 125 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); |
127 }; | 126 }; |
128 | 127 |
129 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 128 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
OLD | NEW |