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

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

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync to get android fix Created 6 years, 9 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
« no previous file with comments | « chrome/browser/ui/pdf/pdf_browsertest.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »
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_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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 #if defined(OS_WIN) 61 #if defined(OS_WIN)
62 class JumpList; 62 class JumpList;
63 #endif 63 #endif
64 64
65 namespace autofill { 65 namespace autofill {
66 class PasswordGenerator; 66 class PasswordGenerator;
67 } 67 }
68 68
69 namespace content { 69 namespace content {
70 class RenderWidgetHost; 70 class RenderFrameHost;
71 } 71 }
72 72
73 namespace extensions { 73 namespace extensions {
74 class Extension; 74 class Extension;
75 } 75 }
76 76
77 namespace views { 77 namespace views {
78 class AccessiblePaneView; 78 class AccessiblePaneView;
79 class ExternalFocusTracker; 79 class ExternalFocusTracker;
80 class WebView; 80 class WebView;
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 563
564 // Initialize the hung plugin detector. 564 // Initialize the hung plugin detector.
565 void InitHangMonitor(); 565 void InitHangMonitor();
566 566
567 // Possibly records a user metrics action corresponding to the passed-in 567 // Possibly records a user metrics action corresponding to the passed-in
568 // accelerator. Only implemented for Chrome OS, where we're interested in 568 // accelerator. Only implemented for Chrome OS, where we're interested in
569 // learning about how frequently the top-row keys are used. 569 // learning about how frequently the top-row keys are used.
570 void UpdateAcceleratorMetrics(const ui::Accelerator& accelerator, 570 void UpdateAcceleratorMetrics(const ui::Accelerator& accelerator,
571 int command_id); 571 int command_id);
572 572
573 // Calls |method| which is either RenderWidgetHost::Cut, ::Copy, or ::Paste, 573 // Calls |method| which is either RenderFrameHost::Cut, ::Copy, or ::Paste,
574 // first trying the content WebContents, then the devtools WebContents, and 574 // first trying the content WebContents, then the devtools WebContents, and
575 // lastly the Views::Textfield if one is focused. 575 // lastly the Views::Textfield if one is focused.
576 void DoCutCopyPaste(void (content::RenderWidgetHost::*method)(), 576 void DoCutCopyPaste(void (content::RenderFrameHost::*method)(),
577 int command_id); 577 int command_id);
578 578
579 // Calls |method| which is either RenderWidgetHost::Cut, ::Copy, or ::Paste on 579 // Calls |method| which is either RenderFrameHost::Cut, ::Copy, or ::Paste on
580 // the given WebContents, returning true if it consumed the event. 580 // the given WebContents, returning true if it consumed the event.
581 bool DoCutCopyPasteForWebContents( 581 bool DoCutCopyPasteForWebContents(
582 content::WebContents* contents, 582 content::WebContents* contents,
583 void (content::RenderWidgetHost::*method)()); 583 void (content::RenderFrameHost::*method)());
584 584
585 // Shows the next app-modal dialog box, if there is one to be shown, or moves 585 // Shows the next app-modal dialog box, if there is one to be shown, or moves
586 // an existing showing one to the front. 586 // an existing showing one to the front.
587 void ActivateAppModalDialog() const; 587 void ActivateAppModalDialog() const;
588 588
589 // Returns the max top arrow height for infobar. 589 // Returns the max top arrow height for infobar.
590 int GetMaxTopInfoBarArrowHeight(); 590 int GetMaxTopInfoBarArrowHeight();
591 591
592 // Last focused view that issued a tab traversal. 592 // Last focused view that issued a tab traversal.
593 int last_focused_view_storage_id_; 593 int last_focused_view_storage_id_;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 736 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
737 737
738 gfx::ScopedSysColorChangeListener color_change_listener_; 738 gfx::ScopedSysColorChangeListener color_change_listener_;
739 739
740 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 740 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
741 741
742 DISALLOW_COPY_AND_ASSIGN(BrowserView); 742 DISALLOW_COPY_AND_ASSIGN(BrowserView);
743 }; 743 };
744 744
745 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 745 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/pdf/pdf_browsertest.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698