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

Side by Side Diff: chrome/test/test_browser_window.h

Issue 3547008: Handle resize corner layout entirely in the platform BrowserWindow*/BrowserView* code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
« no previous file with comments | « chrome/renderer/render_widget.cc ('k') | no next file » | 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) 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_TEST_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/browser.h" 9 #include "chrome/browser/browser.h"
10 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 60 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
61 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) {} 61 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) {}
62 #if defined(TOOLKIT_VIEWS) 62 #if defined(TOOLKIT_VIEWS)
63 virtual void ToggleCompactNavigationBar() {} 63 virtual void ToggleCompactNavigationBar() {}
64 #endif // defined(TOOLKIT_VIEWS) 64 #endif // defined(TOOLKIT_VIEWS)
65 65
66 virtual bool IsBookmarkBarVisible() const { return false; } 66 virtual bool IsBookmarkBarVisible() const { return false; }
67 virtual bool IsBookmarkBarAnimating() const { return false; } 67 virtual bool IsBookmarkBarAnimating() const { return false; }
68 virtual bool IsToolbarVisible() const { return false; } 68 virtual bool IsToolbarVisible() const { return false; }
69 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); }
70 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 69 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
71 Profile* profile) {} 70 Profile* profile) {}
72 virtual void ToggleBookmarkBar() {} 71 virtual void ToggleBookmarkBar() {}
73 virtual views::Window* ShowAboutChromeDialog() { return NULL; } 72 virtual views::Window* ShowAboutChromeDialog() { return NULL; }
74 virtual void ShowUpdateChromeDialog() {} 73 virtual void ShowUpdateChromeDialog() {}
75 virtual void ShowTaskManager() {} 74 virtual void ShowTaskManager() {}
76 virtual void ShowBookmarkManager() {} 75 virtual void ShowBookmarkManager() {}
77 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} 76 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {}
78 virtual bool IsDownloadShelfVisible() const { return false; } 77 virtual bool IsDownloadShelfVisible() const { return false; }
79 virtual DownloadShelf* GetDownloadShelf() { return NULL; } 78 virtual DownloadShelf* GetDownloadShelf() { return NULL; }
(...skipping 30 matching lines...) Expand all
110 protected: 109 protected:
111 virtual void DestroyBrowser() {} 110 virtual void DestroyBrowser() {}
112 111
113 private: 112 private:
114 TestLocationBar location_bar_; 113 TestLocationBar location_bar_;
115 114
116 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 115 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
117 }; 116 };
118 117
119 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 118 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698