Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: chrome/browser/ui/views/web_dialog_view.h

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 CHROME_BROWSER_UI_VIEWS_WEB_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEB_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_WEB_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_WEB_DIALOG_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 88 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
89 virtual void OnCloseContents(content::WebContents* source, 89 virtual void OnCloseContents(content::WebContents* source,
90 bool* out_close_dialog) OVERRIDE; 90 bool* out_close_dialog) OVERRIDE;
91 virtual bool ShouldShowDialogTitle() const OVERRIDE; 91 virtual bool ShouldShowDialogTitle() const OVERRIDE;
92 virtual bool HandleContextMenu( 92 virtual bool HandleContextMenu(
93 const content::ContextMenuParams& params) OVERRIDE; 93 const content::ContextMenuParams& params) OVERRIDE;
94 94
95 // Overridden from content::WebContentsDelegate: 95 // Overridden from content::WebContentsDelegate:
96 virtual void MoveContents(content::WebContents* source, 96 virtual void MoveContents(content::WebContents* source,
97 const gfx::Rect& pos) OVERRIDE; 97 const gfx::Rect& pos) OVERRIDE;
98 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) 98 virtual void HandleKeyboardEvent(
99 OVERRIDE; 99 const content::NativeWebKeyboardEvent& event) OVERRIDE;
100 virtual void CloseContents(content::WebContents* source) OVERRIDE; 100 virtual void CloseContents(content::WebContents* source) OVERRIDE;
101 virtual content::WebContents* OpenURLFromTab( 101 virtual content::WebContents* OpenURLFromTab(
102 content::WebContents* source, 102 content::WebContents* source,
103 const content::OpenURLParams& params) OVERRIDE; 103 const content::OpenURLParams& params) OVERRIDE;
104 virtual void AddNewContents(content::WebContents* source, 104 virtual void AddNewContents(content::WebContents* source,
105 content::WebContents* new_contents, 105 content::WebContents* new_contents,
106 WindowOpenDisposition disposition, 106 WindowOpenDisposition disposition,
107 const gfx::Rect& initial_pos, 107 const gfx::Rect& initial_pos,
108 bool user_gesture) OVERRIDE; 108 bool user_gesture) OVERRIDE;
109 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; 109 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE;
(...skipping 26 matching lines...) Expand all
136 136
137 // Controls lifetime of dialog. 137 // Controls lifetime of dialog.
138 scoped_ptr<WebDialogController> dialog_controller_; 138 scoped_ptr<WebDialogController> dialog_controller_;
139 139
140 views::WebView* web_view_; 140 views::WebView* web_view_;
141 141
142 DISALLOW_COPY_AND_ASSIGN(WebDialogView); 142 DISALLOW_COPY_AND_ASSIGN(WebDialogView);
143 }; 143 };
144 144
145 #endif // CHROME_BROWSER_UI_VIEWS_WEB_DIALOG_VIEW_H_ 145 #endif // CHROME_BROWSER_UI_VIEWS_WEB_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/unhandled_keyboard_event_handler_win.cc ('k') | chrome/browser/ui/views/web_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698