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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 10387110: Remove VIEW_TYPE_WEB_CONTENTS and make default view type INVALID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove stray comment 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 // remember it. 695 // remember it.
696 bool temporary_zoom_settings_; 696 bool temporary_zoom_settings_;
697 697
698 // The intrinsic size of the page. 698 // The intrinsic size of the page.
699 gfx::Size preferred_size_; 699 gfx::Size preferred_size_;
700 700
701 // Content restrictions, used to disable print/copy etc based on content's 701 // Content restrictions, used to disable print/copy etc based on content's
702 // (full-page plugins for now only) permissions. 702 // (full-page plugins for now only) permissions.
703 int content_restrictions_; 703 int content_restrictions_;
704 704
705 // Our view type. Default is VIEW_TYPE_WEB_CONTENTS. 705 // Icky bit of RTTI used by the extension system. This should be the user-
706 // level type of view being displayed by this WebContents - for example
707 // 'background page', or 'browser action popup', or 'tab contents'.
708 // By default, this is TYPE_INVALID; clients must set a type if necessary.
709 // TODO(aa): This should go away.
706 content::ViewType view_type_; 710 content::ViewType view_type_;
707 711
708 // Color chooser that was opened by this tab. 712 // Color chooser that was opened by this tab.
709 content::ColorChooser* color_chooser_; 713 content::ColorChooser* color_chooser_;
710 714
711 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 715 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
712 }; 716 };
713 717
714 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 718 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698