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

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

Issue 2385363002: Pass the RenderProcessHost id on retargeting. (Closed)
Patch Set: Created 4 years, 2 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
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 "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" 9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h"
10 #include "chrome/browser/devtools/devtools_toggle_action.h" 10 #include "chrome/browser/devtools/devtools_toggle_action.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 // content::WebContentsDelegate: 274 // content::WebContentsDelegate:
275 void ActivateContents(content::WebContents* contents) override; 275 void ActivateContents(content::WebContents* contents) override;
276 void AddNewContents(content::WebContents* source, 276 void AddNewContents(content::WebContents* source,
277 content::WebContents* new_contents, 277 content::WebContents* new_contents,
278 WindowOpenDisposition disposition, 278 WindowOpenDisposition disposition,
279 const gfx::Rect& initial_rect, 279 const gfx::Rect& initial_rect,
280 bool user_gesture, 280 bool user_gesture,
281 bool* was_blocked) override; 281 bool* was_blocked) override;
282 void WebContentsCreated(content::WebContents* source_contents, 282 void WebContentsCreated(content::WebContents* source_contents,
283 int opener_render_process_id,
283 int opener_render_frame_id, 284 int opener_render_frame_id,
284 const std::string& frame_name, 285 const std::string& frame_name,
285 const GURL& target_url, 286 const GURL& target_url,
286 content::WebContents* new_contents) override; 287 content::WebContents* new_contents) override;
287 void CloseContents(content::WebContents* source) override; 288 void CloseContents(content::WebContents* source) override;
288 void ContentsZoomChange(bool zoom_in) override; 289 void ContentsZoomChange(bool zoom_in) override;
289 void BeforeUnloadFired(content::WebContents* tab, 290 void BeforeUnloadFired(content::WebContents* tab,
290 bool proceed, 291 bool proceed,
291 bool* proceed_to_fire_unload) override; 292 bool* proceed_to_fire_unload) override;
292 bool PreHandleKeyboardEvent(content::WebContents* source, 293 bool PreHandleKeyboardEvent(content::WebContents* source,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 base::Closure ready_for_test_callback_; 352 base::Closure ready_for_test_callback_;
352 353
353 base::TimeTicks inspect_element_start_time_; 354 base::TimeTicks inspect_element_start_time_;
354 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; 355 std::unique_ptr<DevToolsEventForwarder> event_forwarder_;
355 356
356 friend class DevToolsEventForwarder; 357 friend class DevToolsEventForwarder;
357 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 358 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
358 }; 359 };
359 360
360 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 361 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698