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 UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ | 5 #ifndef UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ |
6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ | 6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 void HandleKeyboardEvent( | 96 void HandleKeyboardEvent( |
97 content::WebContents* source, | 97 content::WebContents* source, |
98 const content::NativeWebKeyboardEvent& event) override; | 98 const content::NativeWebKeyboardEvent& event) override; |
99 void CloseContents(content::WebContents* source) override; | 99 void CloseContents(content::WebContents* source) override; |
100 content::WebContents* OpenURLFromTab( | 100 content::WebContents* OpenURLFromTab( |
101 content::WebContents* source, | 101 content::WebContents* source, |
102 const content::OpenURLParams& params) override; | 102 const content::OpenURLParams& params) override; |
103 void AddNewContents(content::WebContents* source, | 103 void AddNewContents(content::WebContents* source, |
104 content::WebContents* new_contents, | 104 content::WebContents* new_contents, |
105 WindowOpenDisposition disposition, | 105 WindowOpenDisposition disposition, |
106 const gfx::Rect& initial_pos, | 106 const gfx::Rect& initial_rect, |
107 bool user_gesture, | 107 bool user_gesture, |
108 bool* was_blocked) override; | 108 bool* was_blocked) override; |
109 void LoadingStateChanged(content::WebContents* source, | 109 void LoadingStateChanged(content::WebContents* source, |
110 bool to_different_document) override; | 110 bool to_different_document) override; |
111 void BeforeUnloadFired(content::WebContents* tab, | 111 void BeforeUnloadFired(content::WebContents* tab, |
112 bool proceed, | 112 bool proceed, |
113 bool* proceed_to_fire_unload) override; | 113 bool* proceed_to_fire_unload) override; |
114 bool ShouldCreateWebContents( | 114 bool ShouldCreateWebContents( |
115 content::WebContents* web_contents, | 115 content::WebContents* web_contents, |
116 int route_id, | 116 int route_id, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 // Whether CloseContents() has been called. | 153 // Whether CloseContents() has been called. |
154 bool close_contents_called_; | 154 bool close_contents_called_; |
155 | 155 |
156 DISALLOW_COPY_AND_ASSIGN(WebDialogView); | 156 DISALLOW_COPY_AND_ASSIGN(WebDialogView); |
157 }; | 157 }; |
158 | 158 |
159 } // namespace views | 159 } // namespace views |
160 | 160 |
161 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ | 161 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ |
OLD | NEW |