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

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

Issue 10915217: Hook up SetInstantPreviewHeight for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor fixes. Created 8 years, 3 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 bool* is_keyboard_shortcut) OVERRIDE; 331 bool* is_keyboard_shortcut) OVERRIDE;
332 virtual void HandleKeyboardEvent( 332 virtual void HandleKeyboardEvent(
333 const content::NativeWebKeyboardEvent& event) OVERRIDE; 333 const content::NativeWebKeyboardEvent& event) OVERRIDE;
334 virtual void ShowCreateChromeAppShortcutsDialog( 334 virtual void ShowCreateChromeAppShortcutsDialog(
335 Profile*, const extensions::Extension* app) OVERRIDE; 335 Profile*, const extensions::Extension* app) OVERRIDE;
336 virtual void Cut() OVERRIDE; 336 virtual void Cut() OVERRIDE;
337 virtual void Copy() OVERRIDE; 337 virtual void Copy() OVERRIDE;
338 virtual void Paste() OVERRIDE; 338 virtual void Paste() OVERRIDE;
339 virtual void ShowInstant(TabContents* preview) OVERRIDE; 339 virtual void ShowInstant(TabContents* preview) OVERRIDE;
340 virtual void HideInstant() OVERRIDE; 340 virtual void HideInstant() OVERRIDE;
341 virtual void SetInstantPreviewHeight(int value, bool is_percent) OVERRIDE;
341 virtual gfx::Rect GetInstantBounds() OVERRIDE; 342 virtual gfx::Rect GetInstantBounds() OVERRIDE;
342 virtual bool IsInstantTabShowing() OVERRIDE; 343 virtual bool IsInstantTabShowing() OVERRIDE;
343 virtual WindowOpenDisposition GetDispositionForPopupBounds( 344 virtual WindowOpenDisposition GetDispositionForPopupBounds(
344 const gfx::Rect& bounds) OVERRIDE; 345 const gfx::Rect& bounds) OVERRIDE;
345 virtual FindBar* CreateFindBar() OVERRIDE; 346 virtual FindBar* CreateFindBar() OVERRIDE;
346 virtual void ShowAvatarBubble(content::WebContents* web_contents, 347 virtual void ShowAvatarBubble(content::WebContents* web_contents,
347 const gfx::Rect& rect) OVERRIDE; 348 const gfx::Rect& rect) OVERRIDE;
348 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; 349 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE;
349 virtual void ShowPasswordGenerationBubble( 350 virtual void ShowPasswordGenerationBubble(
350 const gfx::Rect& rect, 351 const gfx::Rect& rect,
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 #if defined(USE_AURA) 724 #if defined(USE_AURA)
724 scoped_ptr<SearchViewController> search_view_controller_; 725 scoped_ptr<SearchViewController> search_view_controller_;
725 #endif 726 #endif
726 727
727 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 728 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
728 729
729 DISALLOW_COPY_AND_ASSIGN(BrowserView); 730 DISALLOW_COPY_AND_ASSIGN(BrowserView);
730 }; 731 };
731 732
732 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 733 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698