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

Side by Side Diff: chrome/common/temp_scaffolding_stubs.h

Issue 27193: Make render_view_context_menu.cc compile on Posix. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
« chrome/chrome.gyp ('K') | « chrome/chrome.xcodeproj/project.pbxproj ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 5 #ifndef CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
7 7
8 // This file provides declarations and stub definitions for classes we encouter 8 // This file provides declarations and stub definitions for classes we encouter
9 // during the porting effort. It is not meant to be permanent, and classes will 9 // during the porting effort. It is not meant to be permanent, and classes will
10 // be removed from here as they are fleshed out more completely. 10 // be removed from here as they are fleshed out more completely.
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 virtual void Close() { NOTIMPLEMENTED(); } 315 virtual void Close() { NOTIMPLEMENTED(); }
316 }; 316 };
317 317
318 } // namespace views 318 } // namespace views
319 319
320 class InputWindowDelegate { 320 class InputWindowDelegate {
321 }; 321 };
322 322
323 class Menu { 323 class Menu {
324 public: 324 public:
325 enum AnchorPoint {
326 TOPLEFT,
327 TOPRIGHT
328 };
329 enum MenuItemType {
330 NORMAL,
331 CHECKBOX,
332 RADIO,
333 SEPARATOR
334 };
325 class Delegate { 335 class Delegate {
326 }; 336 };
337 Menu(Delegate* delegate, AnchorPoint anchor, gfx::NativeWindow owner) {
338 NOTIMPLEMENTED();
339 }
340 void AppendMenuItem(int item_id, const std::wstring& label,
341 MenuItemType type) {
342 NOTIMPLEMENTED();
343 }
344 void AppendMenuItemWithLabel(int item_id, const std::wstring& label) {
345 NOTIMPLEMENTED();
346 }
347 Menu* AppendSubMenu(int item_id, const std::wstring& label) {
348 NOTIMPLEMENTED();
349 return NULL;
350 }
351 void AppendSeparator() { NOTIMPLEMENTED(); }
352 void AppendDelegateMenuItem(int item_id) { NOTIMPLEMENTED(); }
327 }; 353 };
328 354
329 views::Window* CreateInputWindow(gfx::NativeWindow parent_hwnd, 355 views::Window* CreateInputWindow(gfx::NativeWindow parent_hwnd,
330 InputWindowDelegate* delegate); 356 InputWindowDelegate* delegate);
331 357
332 class BookmarkManagerView { 358 class BookmarkManagerView {
333 public: 359 public:
334 static BookmarkManagerView* current() { 360 static BookmarkManagerView* current() {
335 NOTIMPLEMENTED(); 361 NOTIMPLEMENTED();
336 return NULL; 362 return NULL;
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 class OSExchangeData { 761 class OSExchangeData {
736 public: 762 public:
737 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } 763 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); }
738 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } 764 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); }
739 }; 765 };
740 766
741 class BaseDragSource { 767 class BaseDragSource {
742 }; 768 };
743 769
744 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 770 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
OLDNEW
« chrome/chrome.gyp ('K') | « chrome/chrome.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698