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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 251653003: Introduces DevToolsManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add InspectWorker() to WebContents, WebContentsImpl, WebContentsDelegate and Browser. Created 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | content/public/browser/web_contents.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 const base::string16& main_text, 442 const base::string16& main_text,
443 const base::string16& sub_text) OVERRIDE; 443 const base::string16& sub_text) OVERRIDE;
444 virtual void HideValidationMessage( 444 virtual void HideValidationMessage(
445 content::WebContents* web_contents) OVERRIDE; 445 content::WebContents* web_contents) OVERRIDE;
446 virtual void MoveValidationMessage( 446 virtual void MoveValidationMessage(
447 content::WebContents* web_contents, 447 content::WebContents* web_contents,
448 const gfx::Rect& anchor_in_root_view) OVERRIDE; 448 const gfx::Rect& anchor_in_root_view) OVERRIDE;
449 virtual bool PreHandleGestureEvent( 449 virtual bool PreHandleGestureEvent(
450 content::WebContents* source, 450 content::WebContents* source,
451 const blink::WebGestureEvent& event) OVERRIDE; 451 const blink::WebGestureEvent& event) OVERRIDE;
452 virtual void InspectWorker(
453 content::DevToolsAgentHost* agent_host) OVERRIDE;
452 454
453 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 455 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
454 bool is_type_popup() const { return type_ == TYPE_POPUP; } 456 bool is_type_popup() const { return type_ == TYPE_POPUP; }
455 457
456 bool is_app() const; 458 bool is_app() const;
457 bool is_devtools() const; 459 bool is_devtools() const;
458 460
459 // True when the mouse cursor is locked. 461 // True when the mouse cursor is locked.
460 bool IsMouseLocked() const; 462 bool IsMouseLocked() const;
461 463
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 base::WeakPtrFactory<Browser> weak_factory_; 939 base::WeakPtrFactory<Browser> weak_factory_;
938 940
939 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; 941 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_;
940 942
941 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; 943 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_;
942 944
943 DISALLOW_COPY_AND_ASSIGN(Browser); 945 DISALLOW_COPY_AND_ASSIGN(Browser);
944 }; 946 };
945 947
946 #endif // CHROME_BROWSER_UI_BROWSER_H_ 948 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | content/public/browser/web_contents.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698