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

Side by Side Diff: chrome/browser/debugger/devtools_window.h

Issue 10837112: Add WebContents* to some more WebContentsDelegate methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual content::WebContents* OpenURLFromTab( 108 virtual content::WebContents* OpenURLFromTab(
109 content::WebContents* source, 109 content::WebContents* source,
110 const content::OpenURLParams& params) OVERRIDE; 110 const content::OpenURLParams& params) OVERRIDE;
111 virtual void AddNewContents(content::WebContents* source, 111 virtual void AddNewContents(content::WebContents* source,
112 content::WebContents* new_contents, 112 content::WebContents* new_contents,
113 WindowOpenDisposition disposition, 113 WindowOpenDisposition disposition,
114 const gfx::Rect& initial_pos, 114 const gfx::Rect& initial_pos,
115 bool user_gesture) OVERRIDE; 115 bool user_gesture) OVERRIDE;
116 virtual void CloseContents(content::WebContents* source) OVERRIDE {} 116 virtual void CloseContents(content::WebContents* source) OVERRIDE {}
117 virtual bool PreHandleKeyboardEvent( 117 virtual bool PreHandleKeyboardEvent(
118 content::WebContents* source,
118 const content::NativeWebKeyboardEvent& event, 119 const content::NativeWebKeyboardEvent& event,
119 bool* is_keyboard_shortcut) OVERRIDE; 120 bool* is_keyboard_shortcut) OVERRIDE;
120 virtual void HandleKeyboardEvent( 121 virtual void HandleKeyboardEvent(
122 content::WebContents* source,
121 const content::NativeWebKeyboardEvent& event) OVERRIDE; 123 const content::NativeWebKeyboardEvent& event) OVERRIDE;
122 virtual content::JavaScriptDialogCreator* 124 virtual content::JavaScriptDialogCreator*
123 GetJavaScriptDialogCreator() OVERRIDE; 125 GetJavaScriptDialogCreator() OVERRIDE;
124 virtual void RunFileChooser( 126 virtual void RunFileChooser(
125 content::WebContents* web_contents, 127 content::WebContents* web_contents,
126 const content::FileChooserParams& params) OVERRIDE; 128 const content::FileChooserParams& params) OVERRIDE;
127 129
128 virtual void FrameNavigating(const std::string& url) OVERRIDE {} 130 virtual void FrameNavigating(const std::string& url) OVERRIDE {}
129 131
130 static DevToolsWindow* ToggleDevToolsWindow( 132 static DevToolsWindow* ToggleDevToolsWindow(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 bool docked_; 164 bool docked_;
163 bool is_loaded_; 165 bool is_loaded_;
164 DevToolsToggleAction action_on_load_; 166 DevToolsToggleAction action_on_load_;
165 content::NotificationRegistrar registrar_; 167 content::NotificationRegistrar registrar_;
166 content::DevToolsClientHost* frontend_host_; 168 content::DevToolsClientHost* frontend_host_;
167 scoped_ptr<DevToolsFileHelper> file_helper_; 169 scoped_ptr<DevToolsFileHelper> file_helper_;
168 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 170 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
169 }; 171 };
170 172
171 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 173 #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