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/chromeos/main_menu.h

Issue 492013: fix chromeos build (Closed)
Patch Set: browser_->profile() -> profile Created 11 years 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/chromeos/main_menu.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_MAIN_MENU_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_MAIN_MENU_H_
6 #define CHROME_BROWSER_CHROMEOS_MAIN_MENU_H_ 6 #define CHROME_BROWSER_CHROMEOS_MAIN_MENU_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 virtual int GetBrowserWindowID() const { 138 virtual int GetBrowserWindowID() const {
139 return -1; 139 return -1;
140 } 140 }
141 virtual ViewType::Type GetRenderViewType() const { 141 virtual ViewType::Type GetRenderViewType() const {
142 return ViewType::INVALID; 142 return ViewType::INVALID;
143 } 143 }
144 virtual RenderViewHostDelegate::View* GetViewDelegate() { 144 virtual RenderViewHostDelegate::View* GetViewDelegate() {
145 return this; 145 return this;
146 } 146 }
147 virtual void RequestMove(const gfx::Rect& new_bounds); 147 virtual void RequestMove(const gfx::Rect& new_bounds);
148 virtual RendererPreferences GetRendererPrefs() const; 148 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
149 149
150 // RenderViewHostDelegate::View overrides. 150 // RenderViewHostDelegate::View overrides.
151 virtual void CreateNewWindow(int route_id); 151 virtual void CreateNewWindow(int route_id);
152 virtual void CreateNewWidget(int route_id, bool activatable) {} 152 virtual void CreateNewWidget(int route_id, bool activatable) {}
153 virtual void ShowCreatedWindow(int route_id, 153 virtual void ShowCreatedWindow(int route_id,
154 WindowOpenDisposition disposition, 154 WindowOpenDisposition disposition,
155 const gfx::Rect& initial_pos, 155 const gfx::Rect& initial_pos,
156 bool user_gesture, 156 bool user_gesture,
157 const GURL& creator_url); 157 const GURL& creator_url);
158 virtual void ShowCreatedWidget(int route_id, 158 virtual void ShowCreatedWidget(int route_id,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 // True if the popup has ever been shown. 201 // True if the popup has ever been shown.
202 bool has_shown_; 202 bool has_shown_;
203 203
204 DISALLOW_COPY_AND_ASSIGN(MainMenu); 204 DISALLOW_COPY_AND_ASSIGN(MainMenu);
205 }; 205 };
206 206
207 } // namespace chromeos 207 } // namespace chromeos
208 208
209 #endif // CHROME_BROWSER_CHROMEOS_MAIN_MENU_H_ 209 #endif // CHROME_BROWSER_CHROMEOS_MAIN_MENU_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/main_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698