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

Side by Side Diff: chrome/browser/chromeos/frame/browser_view.h

Issue 6881073: Cleanup popup related browser navigation code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Popup tests for ChromeOS. Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMEOS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void Init(); 50 virtual void Init();
51 virtual void Show(); 51 virtual void Show();
52 virtual void ShowInactive(); 52 virtual void ShowInactive();
53 virtual void FocusChromeOSStatus(); 53 virtual void FocusChromeOSStatus();
54 virtual views::LayoutManager* CreateLayoutManager() const; 54 virtual views::LayoutManager* CreateLayoutManager() const;
55 virtual void ChildPreferredSizeChanged(View* child); 55 virtual void ChildPreferredSizeChanged(View* child);
56 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; 56 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const;
57 virtual void Cut(); 57 virtual void Cut();
58 virtual void Copy(); 58 virtual void Copy();
59 virtual void Paste(); 59 virtual void Paste();
60 virtual void AdjustNavigateParams(browser::NavigateParams* params);
60 61
61 // views::ContextMenuController overrides. 62 // views::ContextMenuController overrides.
62 virtual void ShowContextMenuForView(views::View* source, 63 virtual void ShowContextMenuForView(views::View* source,
63 const gfx::Point& p, 64 const gfx::Point& p,
64 bool is_mouse_gesture); 65 bool is_mouse_gesture);
65 66
66 // views::MenuListener implementation. 67 // views::MenuListener implementation.
67 virtual void OnMenuOpened(); 68 virtual void OnMenuOpened();
68 69
69 // StatusAreaHost overrides. 70 // StatusAreaHost overrides.
(...skipping 28 matching lines...) Expand all
98 // Focused native widget before wench menu shows up. We need this to properly 99 // Focused native widget before wench menu shows up. We need this to properly
99 // perform cut, copy and paste. See http://crosbug.com/8496 100 // perform cut, copy and paste. See http://crosbug.com/8496
100 gfx::NativeView saved_focused_widget_; 101 gfx::NativeView saved_focused_widget_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(BrowserView); 103 DISALLOW_COPY_AND_ASSIGN(BrowserView);
103 }; 104 };
104 105
105 } // namespace chromeos 106 } // namespace chromeos
106 107
107 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 108 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/browser_view.cc » ('j') | chrome/browser/ui/browser_navigator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698