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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 294903014: [DevTools] Add toolbox web contents to show in undocked mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 6 years, 6 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_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 // The view that contains the selected WebContents. 649 // The view that contains the selected WebContents.
650 ContentsWebView* contents_web_view_; 650 ContentsWebView* contents_web_view_;
651 651
652 // The view that contains devtools window for the selected WebContents. 652 // The view that contains devtools window for the selected WebContents.
653 views::WebView* devtools_web_view_; 653 views::WebView* devtools_web_view_;
654 654
655 // The view managing the devtools and contents positions. 655 // The view managing the devtools and contents positions.
656 // Handled by ContentsLayoutManager. 656 // Handled by ContentsLayoutManager.
657 views::View* contents_container_; 657 views::View* contents_container_;
658 658
659 // Docked devtools window instance. NULL when current tab is not inspected
660 // or is inspected with undocked version of DevToolsWindow.
661 DevToolsWindow* devtools_window_;
662
663 // Tracks and stores the last focused view which is not the 659 // Tracks and stores the last focused view which is not the
664 // devtools_web_view_ or any of its children. Used to restore focus once 660 // devtools_web_view_ or any of its children. Used to restore focus once
665 // the devtools_web_view_ is hidden. 661 // the devtools_web_view_ is hidden.
666 scoped_ptr<views::ExternalFocusTracker> devtools_focus_tracker_; 662 scoped_ptr<views::ExternalFocusTracker> devtools_focus_tracker_;
667 663
668 // The Status information bubble that appears at the bottom of the window. 664 // The Status information bubble that appears at the bottom of the window.
669 scoped_ptr<StatusBubbleViews> status_bubble_; 665 scoped_ptr<StatusBubbleViews> status_bubble_;
670 666
671 // The permission bubble view is the toolkit-specific implementation of the 667 // The permission bubble view is the toolkit-specific implementation of the
672 // interface used by the manager to display permissions bubbles. 668 // interface used by the manager to display permissions bubbles.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 719 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
724 720
725 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 721 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
726 722
727 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 723 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
728 724
729 DISALLOW_COPY_AND_ASSIGN(BrowserView); 725 DISALLOW_COPY_AND_ASSIGN(BrowserView);
730 }; 726 };
731 727
732 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 728 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698