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

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

Issue 10377114: Remove some more OS_CHROMEOS from browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "chrome/browser/ui/base_window.h" 10 #include "chrome/browser/ui/base_window.h"
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // placed at. 321 // placed at.
322 virtual gfx::Rect GetInstantBounds() = 0; 322 virtual gfx::Rect GetInstantBounds() = 0;
323 323
324 // Return the correct disposition for a popup window based on |bounds|. 324 // Return the correct disposition for a popup window based on |bounds|.
325 virtual WindowOpenDisposition GetDispositionForPopupBounds( 325 virtual WindowOpenDisposition GetDispositionForPopupBounds(
326 const gfx::Rect& bounds) = 0; 326 const gfx::Rect& bounds) = 0;
327 327
328 // Construct a FindBar implementation for the |browser|. 328 // Construct a FindBar implementation for the |browser|.
329 virtual FindBar* CreateFindBar() = 0; 329 virtual FindBar* CreateFindBar() = 0;
330 330
331 #if defined(OS_CHROMEOS)
332 // Shows the keyboard overlay dialog box.
333 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0;
334 #endif
335
336 // Invoked when the preferred size of the contents in current tab has been 331 // Invoked when the preferred size of the contents in current tab has been
337 // changed. We might choose to update the window size to accomodate this 332 // changed. We might choose to update the window size to accomodate this
338 // change. 333 // change.
339 // Note that this won't be fired if we change tabs. 334 // Note that this won't be fired if we change tabs.
340 virtual void UpdatePreferredSize(content::WebContents* web_contents, 335 virtual void UpdatePreferredSize(content::WebContents* web_contents,
341 const gfx::Size& pref_size) {} 336 const gfx::Size& pref_size) {}
342 337
343 // Invoked when the contents auto-resized and the container should match it. 338 // Invoked when the contents auto-resized and the container should match it.
344 virtual void ResizeDueToAutoResize(content::WebContents* web_contents, 339 virtual void ResizeDueToAutoResize(content::WebContents* web_contents,
345 const gfx::Size& new_size) {} 340 const gfx::Size& new_size) {}
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 387
393 // Returns the ToolbarView. 388 // Returns the ToolbarView.
394 virtual ToolbarView* GetToolbarView() const = 0; 389 virtual ToolbarView* GetToolbarView() const = 0;
395 #endif 390 #endif
396 391
397 protected: 392 protected:
398 virtual ~BrowserWindowTesting() {} 393 virtual ~BrowserWindowTesting() {}
399 }; 394 };
400 395
401 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 396 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698