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

Side by Side Diff: chrome/browser/ui/views/bookmark_editor_view.h

Issue 5116002: Adding the possibility to resize the "Edit Bookmark" dialog.... (Closed) Base URL: http://src.chromium.org/svn/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 | « AUTHORS ('k') | chrome/browser/ui/views/bookmark_editor_view.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) 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_UI_VIEWS_BOOKMARK_EDITOR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARK_EDITOR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_EDITOR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_EDITOR_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/menus/simple_menu_model.h" 9 #include "app/menus/simple_menu_model.h"
10 #include "app/tree_node_model.h" 10 #include "app/tree_node_model.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const BookmarkNode* parent, 73 const BookmarkNode* parent,
74 const EditDetails& details, 74 const EditDetails& details,
75 BookmarkEditor::Configuration configuration); 75 BookmarkEditor::Configuration configuration);
76 76
77 virtual ~BookmarkEditorView(); 77 virtual ~BookmarkEditorView();
78 78
79 // DialogDelegate methods: 79 // DialogDelegate methods:
80 virtual bool IsDialogButtonEnabled( 80 virtual bool IsDialogButtonEnabled(
81 MessageBoxFlags::DialogButton button) const; 81 MessageBoxFlags::DialogButton button) const;
82 virtual bool IsModal() const; 82 virtual bool IsModal() const;
83 virtual bool CanResize() const;
83 virtual std::wstring GetWindowTitle() const; 84 virtual std::wstring GetWindowTitle() const;
84 virtual bool Accept(); 85 virtual bool Accept();
85 virtual bool AreAcceleratorsEnabled(MessageBoxFlags::DialogButton button); 86 virtual bool AreAcceleratorsEnabled(MessageBoxFlags::DialogButton button);
86 virtual views::View* GetContentsView(); 87 virtual views::View* GetContentsView();
87 88
88 // View methods. 89 // View methods.
89 virtual void Layout(); 90 virtual void Layout();
90 virtual gfx::Size GetPreferredSize(); 91 virtual gfx::Size GetPreferredSize();
91 virtual void ViewHierarchyChanged(bool is_add, views::View* parent, 92 virtual void ViewHierarchyChanged(bool is_add, views::View* parent,
92 views::View* child); 93 views::View* child);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // nodes. 257 // nodes.
257 bool running_menu_for_root_; 258 bool running_menu_for_root_;
258 259
259 // Is the tree shown? 260 // Is the tree shown?
260 bool show_tree_; 261 bool show_tree_;
261 262
262 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); 263 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView);
263 }; 264 };
264 265
265 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_EDITOR_VIEW_H_ 266 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_EDITOR_VIEW_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | chrome/browser/ui/views/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698