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

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

Issue 3417011: Makes match preview send the dimensions of the omnibox to the page. (Closed)
Patch Set: Fix unittest Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 316 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
317 bool* is_keyboard_shortcut); 317 bool* is_keyboard_shortcut);
318 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 318 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
319 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); 319 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents);
320 virtual void Cut(); 320 virtual void Cut();
321 virtual void Copy(); 321 virtual void Copy();
322 virtual void Paste(); 322 virtual void Paste();
323 virtual void ToggleTabStripMode(); 323 virtual void ToggleTabStripMode();
324 virtual void ShowMatchPreview(); 324 virtual void ShowMatchPreview();
325 virtual void HideMatchPreview(); 325 virtual void HideMatchPreview();
326 virtual gfx::Rect GetMatchPreviewBounds();
326 327
327 // Overridden from BrowserWindowTesting: 328 // Overridden from BrowserWindowTesting:
328 virtual BookmarkBarView* GetBookmarkBarView() const; 329 virtual BookmarkBarView* GetBookmarkBarView() const;
329 virtual LocationBarView* GetLocationBarView() const; 330 virtual LocationBarView* GetLocationBarView() const;
330 virtual views::View* GetTabContentsContainerView() const; 331 virtual views::View* GetTabContentsContainerView() const;
331 virtual views::View* GetSidebarContainerView() const; 332 virtual views::View* GetSidebarContainerView() const;
332 virtual ToolbarView* GetToolbarView() const; 333 virtual ToolbarView* GetToolbarView() const;
333 334
334 // Overridden from NotificationObserver: 335 // Overridden from NotificationObserver:
335 virtual void Observe(NotificationType type, 336 virtual void Observe(NotificationType type,
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 647 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
647 648
648 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; 649 scoped_ptr<AccessibleViewHelper> accessible_view_helper_;
649 650
650 NotificationRegistrar registrar_; 651 NotificationRegistrar registrar_;
651 652
652 DISALLOW_COPY_AND_ASSIGN(BrowserView); 653 DISALLOW_COPY_AND_ASSIGN(BrowserView);
653 }; 654 };
654 655
655 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 656 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698