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

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

Issue 691823002: Add WebContents source to methods in WebContentsDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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_DEVTOOLS_DEVTOOLS_WINDOW_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
7 7
8 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" 8 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h"
9 #include "chrome/browser/devtools/devtools_toggle_action.h" 9 #include "chrome/browser/devtools/devtools_toggle_action.h"
10 #include "chrome/browser/devtools/devtools_ui_bindings.h" 10 #include "chrome/browser/devtools/devtools_ui_bindings.h"
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 void ContentsZoomChange(bool zoom_in) override; 245 void ContentsZoomChange(bool zoom_in) override;
246 void BeforeUnloadFired(content::WebContents* tab, 246 void BeforeUnloadFired(content::WebContents* tab,
247 bool proceed, 247 bool proceed,
248 bool* proceed_to_fire_unload) override; 248 bool* proceed_to_fire_unload) override;
249 bool PreHandleKeyboardEvent(content::WebContents* source, 249 bool PreHandleKeyboardEvent(content::WebContents* source,
250 const content::NativeWebKeyboardEvent& event, 250 const content::NativeWebKeyboardEvent& event,
251 bool* is_keyboard_shortcut) override; 251 bool* is_keyboard_shortcut) override;
252 void HandleKeyboardEvent( 252 void HandleKeyboardEvent(
253 content::WebContents* source, 253 content::WebContents* source,
254 const content::NativeWebKeyboardEvent& event) override; 254 const content::NativeWebKeyboardEvent& event) override;
255 content::JavaScriptDialogManager* GetJavaScriptDialogManager() override; 255 content::JavaScriptDialogManager* GetJavaScriptDialogManager(
256 content::WebContents* source) override;
256 content::ColorChooser* OpenColorChooser( 257 content::ColorChooser* OpenColorChooser(
257 content::WebContents* web_contents, 258 content::WebContents* web_contents,
258 SkColor color, 259 SkColor color,
259 const std::vector<content::ColorSuggestion>& suggestions) override; 260 const std::vector<content::ColorSuggestion>& suggestions) override;
260 void RunFileChooser(content::WebContents* web_contents, 261 void RunFileChooser(content::WebContents* web_contents,
261 const content::FileChooserParams& params) override; 262 const content::FileChooserParams& params) override;
262 void WebContentsFocused(content::WebContents* contents) override; 263 void WebContentsFocused(content::WebContents* contents) override;
263 bool PreHandleGestureEvent(content::WebContents* source, 264 bool PreHandleGestureEvent(content::WebContents* source,
264 const blink::WebGestureEvent& event) override; 265 const blink::WebGestureEvent& event) override;
265 266
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 base::Closure close_callback_; 307 base::Closure close_callback_;
307 308
308 base::TimeTicks inspect_element_start_time_; 309 base::TimeTicks inspect_element_start_time_;
309 scoped_ptr<DevToolsEventForwarder> event_forwarder_; 310 scoped_ptr<DevToolsEventForwarder> event_forwarder_;
310 311
311 friend class DevToolsEventForwarder; 312 friend class DevToolsEventForwarder;
312 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 313 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
313 }; 314 };
314 315
315 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 316 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_web_contents_delegate_android.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698