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

Side by Side Diff: chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc

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 #include "chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h" 5 #include "chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/property_bag.h" 9 #include "base/property_bag.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/constrained_window.h" 11 #include "chrome/browser/ui/constrained_window.h"
12 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 12 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
13 #include "chrome/browser/ui/webui/web_dialog_delegate.h" 13 #include "chrome/browser/ui/webui/web_dialog_delegate.h"
14 #include "chrome/browser/ui/webui/web_dialog_ui.h" 14 #include "chrome/browser/ui/webui/web_dialog_ui.h"
15 #include "chrome/browser/ui/webui/web_dialog_web_contents_delegate.h" 15 #include "chrome/browser/ui/webui/web_dialog_web_contents_delegate.h"
16 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 17
18 using content::NativeWebKeyboardEvent;
18 using content::WebContents; 19 using content::WebContents;
19 20
20 ConstrainedWebDialogDelegateBase::ConstrainedWebDialogDelegateBase( 21 ConstrainedWebDialogDelegateBase::ConstrainedWebDialogDelegateBase(
21 Profile* profile, 22 Profile* profile,
22 WebDialogDelegate* delegate, 23 WebDialogDelegate* delegate,
23 WebDialogWebContentsDelegate* tab_delegate) 24 WebDialogWebContentsDelegate* tab_delegate)
24 : WebDialogWebContentsDelegate(profile), 25 : WebDialogWebContentsDelegate(profile),
25 web_dialog_delegate_(delegate), 26 web_dialog_delegate_(delegate),
26 window_(NULL), 27 window_(NULL),
27 closed_via_webui_(false), 28 closed_via_webui_(false),
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 return window_; 88 return window_;
88 } 89 }
89 90
90 TabContentsWrapper* ConstrainedWebDialogDelegateBase::tab() { 91 TabContentsWrapper* ConstrainedWebDialogDelegateBase::tab() {
91 return tab_.get(); 92 return tab_.get();
92 } 93 }
93 94
94 void ConstrainedWebDialogDelegateBase::HandleKeyboardEvent( 95 void ConstrainedWebDialogDelegateBase::HandleKeyboardEvent(
95 const NativeWebKeyboardEvent& event) { 96 const NativeWebKeyboardEvent& event) {
96 } 97 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698