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

Side by Side Diff: chrome/browser/debugger/devtools_window.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_DEBUGGER_DEVTOOLS_WINDOW_H_ 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual content::WebContents* OpenURLFromTab( 109 virtual content::WebContents* OpenURLFromTab(
110 content::WebContents* source, 110 content::WebContents* source,
111 const content::OpenURLParams& params) OVERRIDE; 111 const content::OpenURLParams& params) OVERRIDE;
112 virtual void AddNewContents(content::WebContents* source, 112 virtual void AddNewContents(content::WebContents* source,
113 content::WebContents* new_contents, 113 content::WebContents* new_contents,
114 WindowOpenDisposition disposition, 114 WindowOpenDisposition disposition,
115 const gfx::Rect& initial_pos, 115 const gfx::Rect& initial_pos,
116 bool user_gesture) OVERRIDE; 116 bool user_gesture) OVERRIDE;
117 virtual void CloseContents(content::WebContents* source) OVERRIDE {} 117 virtual void CloseContents(content::WebContents* source) OVERRIDE {}
118 virtual bool CanReloadContents(content::WebContents* source) const OVERRIDE; 118 virtual bool CanReloadContents(content::WebContents* source) const OVERRIDE;
119 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 119 virtual bool PreHandleKeyboardEvent(
120 bool* is_keyboard_shortcut) OVERRIDE; 120 const content::NativeWebKeyboardEvent& event,
121 bool* is_keyboard_shortcut) OVERRIDE;
121 virtual void HandleKeyboardEvent( 122 virtual void HandleKeyboardEvent(
122 const NativeWebKeyboardEvent& event) OVERRIDE; 123 const content::NativeWebKeyboardEvent& event) OVERRIDE;
123 virtual content::JavaScriptDialogCreator* 124 virtual content::JavaScriptDialogCreator*
124 GetJavaScriptDialogCreator() OVERRIDE; 125 GetJavaScriptDialogCreator() OVERRIDE;
125 126
126 virtual void FrameNavigating(const std::string& url) OVERRIDE {} 127 virtual void FrameNavigating(const std::string& url) OVERRIDE {}
127 128
128 static DevToolsWindow* ToggleDevToolsWindow( 129 static DevToolsWindow* ToggleDevToolsWindow(
129 content::RenderViewHost* inspected_rvh, 130 content::RenderViewHost* inspected_rvh,
130 bool force_open, 131 bool force_open,
131 DevToolsToggleAction action); 132 DevToolsToggleAction action);
132 static DevToolsWindow* AsDevToolsWindow(content::DevToolsClientHost*); 133 static DevToolsWindow* AsDevToolsWindow(content::DevToolsClientHost*);
(...skipping 25 matching lines...) Expand all
158 bool docked_; 159 bool docked_;
159 bool is_loaded_; 160 bool is_loaded_;
160 DevToolsToggleAction action_on_load_; 161 DevToolsToggleAction action_on_load_;
161 content::NotificationRegistrar registrar_; 162 content::NotificationRegistrar registrar_;
162 content::DevToolsClientHost* frontend_host_; 163 content::DevToolsClientHost* frontend_host_;
163 scoped_ptr<DevToolsFileHelper> file_helper_; 164 scoped_ptr<DevToolsFileHelper> file_helper_;
164 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 165 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
165 }; 166 };
166 167
167 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 168 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698